es1968 - AC97 debugged
A message that is not in the archive (sent off-list or not yet received): [email protected]
At Wed, 5 Feb 2003 18:40:42 +0100,
Quoted 3 lines · Voluspa
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
Quoted 24 lines
alsa-kernel/pci/ac97/ac97_codec.c +0
-5@@ -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
Quoted 9 lines
-------------------------------------------------------
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