[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>
This commit is contained in:
		
					parent
					
						
							
								531af46279
							
						
					
				
			
			
				commit
				
					
						abf58f0955
					
				
			
		
					 1 changed files with 6 additions and 4 deletions
				
			
		| 
						 | 
					@ -783,6 +783,8 @@ static struct pci_device_id snd_bt87x_ids[] = {
 | 
				
			||||||
	BT_DEVICE(PCI_DEVICE_ID_BROOKTREE_878, 0x0070, 0xff01, 44100),
 | 
						BT_DEVICE(PCI_DEVICE_ID_BROOKTREE_878, 0x0070, 0xff01, 44100),
 | 
				
			||||||
	/* AVerMedia Studio No. 103, 203, ...? */
 | 
						/* AVerMedia Studio No. 103, 203, ...? */
 | 
				
			||||||
	BT_DEVICE(PCI_DEVICE_ID_BROOKTREE_878, 0x1461, 0x0003, 48000),
 | 
						BT_DEVICE(PCI_DEVICE_ID_BROOKTREE_878, 0x1461, 0x0003, 48000),
 | 
				
			||||||
 | 
						/* Leadtek Winfast tv 2000xp delux */
 | 
				
			||||||
 | 
						BT_DEVICE(PCI_DEVICE_ID_BROOKTREE_878, 0x107d, 0x6606, 32000),
 | 
				
			||||||
	{ }
 | 
						{ }
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
MODULE_DEVICE_TABLE(pci, snd_bt87x_ids);
 | 
					MODULE_DEVICE_TABLE(pci, snd_bt87x_ids);
 | 
				
			||||||
| 
						 | 
					@ -816,13 +818,13 @@ static int __devinit snd_bt87x_detect_card(struct pci_dev *pci)
 | 
				
			||||||
	for (i = 0; i < ARRAY_SIZE(blacklist); ++i)
 | 
						for (i = 0; i < ARRAY_SIZE(blacklist); ++i)
 | 
				
			||||||
		if (blacklist[i].subvendor == pci->subsystem_vendor &&
 | 
							if (blacklist[i].subvendor == pci->subsystem_vendor &&
 | 
				
			||||||
		    blacklist[i].subdevice == pci->subsystem_device) {
 | 
							    blacklist[i].subdevice == pci->subsystem_device) {
 | 
				
			||||||
			snd_printdd(KERN_INFO "card %#04x:%#04x has no audio\n",
 | 
								snd_printdd(KERN_INFO "card %#04x-%#04x:%#04x has no audio\n",
 | 
				
			||||||
				    pci->subsystem_vendor, pci->subsystem_device);
 | 
									    pci->device, pci->subsystem_vendor, pci->subsystem_device);
 | 
				
			||||||
			return -EBUSY;
 | 
								return -EBUSY;
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	snd_printk(KERN_INFO "unknown card %#04x:%#04x, using default rate 32000\n",
 | 
						snd_printk(KERN_INFO "unknown card %#04x-%#04x:%#04x, using default rate 32000\n",
 | 
				
			||||||
		   pci->subsystem_vendor, pci->subsystem_device);
 | 
						           pci->device, pci->subsystem_vendor, pci->subsystem_device);
 | 
				
			||||||
	snd_printk(KERN_DEBUG "please mail id, board name, and, "
 | 
						snd_printk(KERN_DEBUG "please mail id, board name, and, "
 | 
				
			||||||
		   "if it works, the correct digital_rate option to "
 | 
							   "if it works, the correct digital_rate option to "
 | 
				
			||||||
		   "<alsa-devel@lists.sf.net>\n");
 | 
							   "<alsa-devel@lists.sf.net>\n");
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue