All of lore.kernel.org
 help / color / mirror / Atom feed
* Linux driver for cs4281 with TWO cs4299 codecs?
@ 2002-05-22 15:59 tomasz motylewski
  2002-05-22 18:11 ` Takashi Iwai
  0 siblings, 1 reply; 13+ messages in thread
From: tomasz motylewski @ 2002-05-22 15:59 UTC (permalink / raw)
  To: twoller; +Cc: pcaudio, alsa-devel, peter wachtendorf


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?

Is the programming manual cs4281tm.pdf available at
http://www.alsa-project.org/alsa/ftp/manuals/cirrus/cs4281tm.pdf the most
recent one?

Best regards,
--
Tomasz Motylewski

BFAD GmbH & Co. KG


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

^ permalink raw reply	[flat|nested] 13+ messages in thread
* RE: Linux driver for cs4281 with TWO cs4299 codecs?
@ 2002-05-22 18:27 Woller, Thomas
  0 siblings, 0 replies; 13+ messages in thread
From: Woller, Thomas @ 2002-05-22 18:27 UTC (permalink / raw)
  To: 'Takashi Iwai', tomasz motylewski
  Cc: Woller, Thomas, Austin PC Audio Support, alsa-devel,
	peter wachtendorf

I do not have a dual codec cs4281 driver. i do not believe that
any of our customers ever created such a design either, so not
100% sure that the h/w will all work as spec'ed, but I have no
idea... might though. officially cirrus did not support >1 codec
with the cs4281.  i do know that the linux driver will support
multiple cs4281/single codec systems, up to 4 i believe was
tested external to cirrus. 
tom woller

-----Original Message-----
From: Takashi Iwai [mailto:tiwai@suse.de]
Sent: Wednesday, May 22, 2002 1:12 PM
To: tomasz motylewski
Cc: twoller@crystal.cirrus.com; pcaudio@crystal.cirrus.com;
alsa-devel@lists.sourceforge.net; peter wachtendorf
Subject: Re: [Alsa-devel] Linux driver for cs4281 with TWO cs4299
codecs?


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

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2002-06-10 13:54 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-22 15:59 Linux driver for cs4281 with TWO cs4299 codecs? tomasz motylewski
2002-05-22 18:11 ` Takashi Iwai
2002-05-22 18:33   ` tomasz motylewski
2002-05-22 21:15   ` tomasz motylewski
2002-05-23  8:40     ` Takashi Iwai
2002-05-23 10:27       ` tomasz motylewski
2002-05-27 16:37         ` tomasz motylewski
2002-05-27 16:49           ` Takashi Iwai
2002-05-28 20:10           ` does CS4281 have enough SRC for 4 input + 4 output channels? tomasz motylewski
2002-05-29 16:53           ` cs4281 with TWO cs4299 codecs - something works tomasz motylewski
2002-06-08 16:46             ` cs4281 - only 2 periods supported? tomasz motylewski
2002-06-10 13:54               ` Takashi Iwai
  -- strict thread matches above, loose matches on Subject: below --
2002-05-22 18:27 Linux driver for cs4281 with TWO cs4299 codecs? Woller, Thomas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.