Hi all,

Attached is a patch I had to use to get the 0.9.x trident drivers to
load on my Jaton Sonicwave.  I'm not an AC'97 expert, but the 0.5.x
drivers didn't used to check for this reset condition.

The soundcard itself appears to work perfectly happily with this mod
to carry on regardless if the check fails, but I assume it was added
for a reason!

Cheers,

Mark

-- 
+-------------------------------------------------------------------------+
Mark Cooke                  The views expressed above are mine and are not
Systems Programmer          necessarily representative of university policy
University Of Birmingham    URL: http://www.sr.bham.ac.uk/~mpc/
+-------------------------------------------------------------------------+
Index: ac97_codec.c
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/lowlevel/generic/ac97_codec.c,v
retrieving revision 1.180
diff -u -r1.180 ac97_codec.c
--- ac97_codec.c        2001/09/16 10:13:13     1.180
+++ ac97_codec.c        2001/09/17 22:25:39
@@ -1411,9 +1411,15 @@
                schedule_timeout(HZ/100);
        }
        if (!idx) {
-               snd_printd("AC'97 %d:%d does not respond - RESET [PCM = 0x%x]\n", 
ac97->num, ac97->addr, err);
-               snd_ac97_free(ac97);
-               return -ENXIO;
+#if 0
+               snd_printd("AC'97 %d:%d does not respond - RESET [PCM = 0x%x]\n", 
+ac97->num, ac97->addr, err);
+               snd_ac97_free(ac97);
+               return -ENXIO;
+#else
+               # This new check in 0.9.x does not appear to work on my Trident DX
+               # so just warn and continue...
+               snd_printd("AC'97 %d:%d does not respond - RESET [PCM = 0x%x] Carrying 
+on regardless...\n", ac97->num, ac97->addr, err);
+#endif
        }
 
        ac97->caps = snd_ac97_read(ac97, AC97_RESET);

Reply via email to