At Wed, 5 Feb 2003 18:40:42 +0100, Voluspa wrote: > > > 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:
ah, thanks! this is something what i've already seen on the kernel oss driver, but didn't know that it actually affects to alsa driver. perhaps the easy and general fix would be to prevent reading AC97_EXTENDED_MID on this codec chip. could you tell me which ac97 codec is detected on your machine? please check /proc/asound/card0/ac97#0. thanks, Takashi > --- 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 > ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ Alsa-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-devel