Hi, At Wed, 22 May 2002 17:59:55 +0200 (CEST), tomasz motylewski wrote: > > > I hope you do not mind that I have contacted you directly. > > I would like to ask whether anyone has developed a driver for cs4281 working in > a dual codec sound card. > > We have developed such a card, and it works fine with a single cs4299 codec, > but current alsa-driver-0.9.0rc1 fails with: > > ALSA ../alsa-kernel/pci/cs4281.c:1455: DLLRDY not seen > CS4281 soundcard not found or device busy > > when we connect another codec configured as slave (no quartz signal on > secondary, but SYNC, BIT_CLK, SDATA_OUT, SDATA_IN, RESET connected). > > I have tried to increase the timeout to 1 s, but without any result. > > Any advice? ALSA driver still doesn't support secondary codec, so most likely it's a driver problem.
according to the cirrus' doc, ASDI2E and TCID must be set for the secondary codec before the loop checking DLLRDY. ok, now i did a very very quick hack. could you try the attached patch? (you'll need to pass the module option snd_dual_codec=1) it doesn't change the TCID value (it was set to 1). it might be different value. tune as you like. Takashi
cs4281-dual-codec.dif
Description: Binary data