By deleting one test done to the ac97 codec, the es1968 driver loads (and works). With 
this I've reached the end of my debugging capabilities:

--- alsa-driver-0.9.0rc6/alsa-kernel/pci/ac97/ac97_codec.c      Wed Oct 30 15:20:08 
2002
+++ debug-alsa-driver-0.9.0rc6/alsa-kernel/pci/ac97/ac97_codec.c        Wed Feb  5 
+18:10:11 2003
@@ -1534,16 +1534,11 @@
                /* the REC_GAIN register is used for tests */
                end_time = jiffies + HZ;
                do {
-                       unsigned short ext_mid;
                
                        /* use preliminary reads to settle the communication */
                        snd_ac97_read(ac97, AC97_RESET);
                        snd_ac97_read(ac97, AC97_VENDOR_ID1);
                        snd_ac97_read(ac97, AC97_VENDOR_ID2);
-                       /* modem? */
-                       ext_mid = snd_ac97_read(ac97, AC97_EXTENDED_MID);
-                       if (ext_mid != 0xffff && (ext_mid & 1) != 0)
-                               goto __access_ok;
                        /* test if we can write to the record gain volume register */
                        snd_ac97_write_cache(ac97, AC97_REC_GAIN, 0x8a05);
                        if ((err = snd_ac97_read(ac97, AC97_REC_GAIN)) == 0x8a05)

Regards,
Mats Johannesson


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to