[alsa-devel] pb with AC'97 codec on atmel at91 boards

Sedji Gaouaou sedji.gaouaou at atmel.com
Mon May 25 17:15:44 CEST 2009


Hi all,

I am currently working on an AC'97 driver for ATMEL boards(AT91), and I 
encounter some problems.
On the board we have an AD1981b, and looking at the file ac97_patch.c I 
was wondering in the function patch_ad1881 why is there 3 codecs?
I've got the AD1981b datasheet, but the registers description is not 
really clear to me(vendor id register).

My problem is: when I try to read this registers(vendor id) during the 
probe(in snd_ac97_mixer), it will fail, and from time to time I will 
even not be able to recognize the codec...

So my question is: is that normal that in the function patch_ad1881 the 
code fails to read these lines:
	codecs[1] = patch_ad1881_unchained(ac97, 1, (1<<14));
	codecs[2] = patch_ad1881_unchained(ac97, 2, (1<<13));


Regards,
Sedji



More information about the Alsa-devel mailing list