A trying to use a bt87x audio ADC, but, the snd_87x module dont detect
the card, even if a load_all option is used.
This problem is related in
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1401
and
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1719

I append a note in 14011 with this patch:

--- linux-2.6.15.orig/sound/pci/bt87x.c 2006-01-03 01:21:10.000000000 -0200
+++ linux-2.6.15/sound/pci/bt87x.c      2006-01-09 22:27:16.000000000 -0200
@@ -801,7 +801,8 @@ static int __devinit snd_bt87x_detect_ca

        supported = pci_match_device(&driver, pci);
        if (supported)
-               return supported->driver_data;
+               if (supported->driver_data > 0)
+                       return supported->driver_data;

        for (i = 0; i < ARRAY_SIZE(blacklist); ++i)
                if (blacklist[i].subvendor == pci->subsystem_vendor &&

I not sure if it is a correct way.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to