From: Takashi Iwai <tiwai@suse.de>
To: Denis Sbragion <d.sbragion@infotecna.it>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: EWX 24/96 SPDIF input problem with 0.9.4 (and "compiler.h")
Date: Mon, 30 Jun 2003 16:34:23 +0200 [thread overview]
Message-ID: <s5hn0fzljm8.wl@alsa2.suse.de> (raw)
In-Reply-To: <5.1.0.14.1.20030617092435.03687a78@pop3.infotecna.lcl>
Hi,
At Tue, 17 Jun 2003 09:50:29 +0200,
Denis Sbragion wrote:
>
> 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.
thanks for spotting this out.
as you suggested above, i added the ews-specific initialization
there. it just resets the RECVERRMASK register afterwards in
ews.c. please try the cvs version.
> 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.
this should have been fixed on the cvs. it will create a dummy
linux/compiler.h if not found.
ciao,
Takashi
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
next prev parent reply other threads:[~2003-06-30 14:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s5hn0fzljm8.wl@alsa2.suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@lists.sourceforge.net \
--cc=d.sbragion@infotecna.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.