diff options
author | Jaroslav Kysela <perex@suse.cz> | 2006-02-08 03:10:36 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-03-22 04:28:29 -0500 |
commit | abf58f095525c0e46b4ee64a4f9c2084b4c08f4c (patch) | |
tree | bd7aa76d5dc8f33385121e7dfe3846ebd13c3dea /sound/pci/bt87x.c | |
parent | 531af46279fe113f9e41bd5167c8868c936813b5 (diff) |
[ALSA] bt848 - added Leadtek Winfast tv 2000xp delux to whitelist
Modules: BT87x driver
- added 0x107d:0x6606 to whitelist
- print also the pci device ID for developers when model is not known
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/pci/bt87x.c')
-rw-r--r-- | sound/pci/bt87x.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sound/pci/bt87x.c b/sound/pci/bt87x.c index c840a4c08e98..7f1a19c13f10 100644 --- a/sound/pci/bt87x.c +++ b/sound/pci/bt87x.c | |||
@@ -783,6 +783,8 @@ static struct pci_device_id snd_bt87x_ids[] = { | |||
783 | BT_DEVICE(PCI_DEVICE_ID_BROOKTREE_878, 0x0070, 0xff01, 44100), | 783 | BT_DEVICE(PCI_DEVICE_ID_BROOKTREE_878, 0x0070, 0xff01, 44100), |
784 | /* AVerMedia Studio No. 103, 203, ...? */ | 784 | /* AVerMedia Studio No. 103, 203, ...? */ |
785 | BT_DEVICE(PCI_DEVICE_ID_BROOKTREE_878, 0x1461, 0x0003, 48000), | 785 | BT_DEVICE(PCI_DEVICE_ID_BROOKTREE_878, 0x1461, 0x0003, 48000), |
786 | /* Leadtek Winfast tv 2000xp delux */ | ||
787 | BT_DEVICE(PCI_DEVICE_ID_BROOKTREE_878, 0x107d, 0x6606, 32000), | ||
786 | { } | 788 | { } |
787 | }; | 789 | }; |
788 | MODULE_DEVICE_TABLE(pci, snd_bt87x_ids); | 790 | MODULE_DEVICE_TABLE(pci, snd_bt87x_ids); |
@@ -816,13 +818,13 @@ static int __devinit snd_bt87x_detect_card(struct pci_dev *pci) | |||
816 | for (i = 0; i < ARRAY_SIZE(blacklist); ++i) | 818 | for (i = 0; i < ARRAY_SIZE(blacklist); ++i) |
817 | if (blacklist[i].subvendor == pci->subsystem_vendor && | 819 | if (blacklist[i].subvendor == pci->subsystem_vendor && |
818 | blacklist[i].subdevice == pci->subsystem_device) { | 820 | blacklist[i].subdevice == pci->subsystem_device) { |
819 | snd_printdd(KERN_INFO "card %#04x:%#04x has no audio\n", | 821 | snd_printdd(KERN_INFO "card %#04x-%#04x:%#04x has no audio\n", |
820 | pci->subsystem_vendor, pci->subsystem_device); | 822 | pci->device, pci->subsystem_vendor, pci->subsystem_device); |
821 | return -EBUSY; | 823 | return -EBUSY; |
822 | } | 824 | } |
823 | 825 | ||
824 | snd_printk(KERN_INFO "unknown card %#04x:%#04x, using default rate 32000\n", | 826 | snd_printk(KERN_INFO "unknown card %#04x-%#04x:%#04x, using default rate 32000\n", |
825 | pci->subsystem_vendor, pci->subsystem_device); | 827 | pci->device, pci->subsystem_vendor, pci->subsystem_device); |
826 | snd_printk(KERN_DEBUG "please mail id, board name, and, " | 828 | snd_printk(KERN_DEBUG "please mail id, board name, and, " |
827 | "if it works, the correct digital_rate option to " | 829 | "if it works, the correct digital_rate option to " |
828 | "<alsa-devel@lists.sf.net>\n"); | 830 | "<alsa-devel@lists.sf.net>\n"); |