All of lore.kernel.org
 help / color / mirror / Atom feed
* EWX 24/96 SPDIF input problem with 0.9.4 (and "compiler.h")
@ 2003-06-17  7:50 Denis Sbragion
  2003-06-30 14:34 ` Takashi Iwai
  0 siblings, 1 reply; 4+ messages in thread
From: Denis Sbragion @ 2003-06-17  7:50 UTC (permalink / raw)
  To: alsa-devel

Hello all,

I found that the SPDIF input on my TerraTec EWX 24/96 no longer works with 
the latest 0.9.4 drivers. I digged into the cs8427.c code and I found that 
this lines in function 'snd_cs8427_create' of version 0.9.3:

...
/* CS8427_REG_RECVERRMASK: unmask the input PLL clock, V, confidence, 
biphase, parity status bits */
/* CS8427_UNLOCK | CS8427_V | CS8427_CONF | CS8427_BIP | CS8427_PAR,
Why setting CS8427_V causes clicks and glitches? */
CS8427_UNLOCK | CS8427_CONF | CS8427_BIP | CS8427_PAR,
...

have been changed into:

...
/* CS8427_REG_RECVERRMASK: unmask the input PLL clock, V, confidence, 
biphase, parity status bits */
/* CS8427_UNLOCK | CS8427_V | CS8427_CONF | CS8427_BIP | CS8427_PAR, * /
0xff, /* set everything */
...

in version 0.9.4, along with some other changes. The "Why setting CS8427_V 
causes clicks and glitches?" comment of version 0.9.3 comes from an old 
patch I sent to Jaroslav many months ago, when I had a similar problem with 
an older 0.9.0something version of the drivers. The fact that this patch 
has been rolled back makes me think that there are some other cards out 
there that need that flag, so I think that a card dependent intialization 
is needed here, but I don't know how to code it. Of course I'm willing to 
help in coding and testing everything that may be needed to make the driver 
run, though I can only test on my own EWX. Relevant environment: RedHat 
Linux 7.2, 2.4.7 kernel.
	I found also that the adriver.h file in version 0.9.4 includes the file 
"linux/compiler.h", which is not present on older 2.4 kernels like my 
2.4.7. Everything seems to compile pretty well even without this include, 
at least on 2.4.7, so may be a conditional inclusion is needed here.
	Finally, many thanks to all the ALSA development team for all its great 
work! Hope this could help improve this great work even more.

Regards,
--
	Denis Sbragion
	InfoTecna
	Tel: +39 0362 805396, Fax: +39 0362 805404
	URL: http://www.infotecna.it



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php

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

end of thread, other threads:[~2003-06-30 15:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-17  7:50 EWX 24/96 SPDIF input problem with 0.9.4 (and "compiler.h") Denis Sbragion
2003-06-30 14:34 ` Takashi Iwai
2003-06-30 14:53   ` Jaroslav Kysela
     [not found]   ` <Pine.LNX.4.44.0306301651490.13946-100000@pnote.perex-int.c z>
2003-06-30 15:55     ` Denis Sbragion

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.