From: Jon <jon@seniorblanco.com>
To: Clemens Ladisch <clemens@ladisch.de>, alsa-devel@alsa-project.org
Subject: Re: trouble using S/PDIF input on CMI8738-MC6: C-Media CMI8738 (model 55)
Date: Thu, 21 Aug 2014 15:07:35 -0700 [thread overview]
Message-ID: <53F66DA7.4010807@seniorblanco.com> (raw)
In-Reply-To: <53F5CA80.8020300@ladisch.de>
On 08/21/2014 03:31 AM, Clemens Ladisch wrote:
> Jon wrote:
>> i/o error and resulting 44-byte file of silence.
>
> This indicates that the chip does not see any S/PDIF signal.
>
> Can't you connect some S/PDIF output to an input for testing?
Well, I have tried connecting its own output to its input (both via
optical and coax) but that doesn't change anything. Unfortunately I
have no other devices with S/PDIF inputs to test with, though the
optical cable lights up when I toggle "S/PDIF Output" to on, and if I
attempt to play to the iec958 alsa device then "S/PDIF Out To DAC" and
"S/PDIF Out" both also automatically enable themselves in alsamixer and
I get no errors, so I suspect the digital *output* is probably working
fine. I have other devices with S/PDIF outputs that I have tested
connecting to this device's input, however, again, no change.
>
>> I'm wondering if this problem could be really just as simple as
>> someone having guessed wrong about the correct value there having not
>> had this particular model on hand to test with?
>
> C-Media chips were very common once upon a time, and S/PDIF input always
> worked just fine for everybody else. There are no GPIOs, so the only
> possible hardware implementation is to connect the S/PDIF input directly
> to the chip's input pin(s).
A quick search for this in google: cmipci input/output error
...shows several other various mail and forum archive listings of people
having the same exact problem as me with model 55 of this card in alsa,
going at least as far back as 2003.
https://www.mail-archive.com/alsa-user@lists.sourceforge.net/msg06771.html
Going from this one right here I just now discovered that if I directly
connect the card's digital output to its own input, start speaker-test
in one terminal, then quickly open alsamixer in a another terminal
*after* I start recording with arecord in a third terminal and then
manually toggle the "IEC958 In Record" (which at that point has turned
itself on automatically) to off, and if I am quick enough to beat the
i/o error, arecord then records an arbitrary amount of silence instead
of erroring out. (I let it go until the file reached 11MB just to test)
If I don't do this however, arecord still gives me the i/o error and exits.
Preemptively turning the "IEC958 In Record" to ON before starting the
arecord attempt also still gives me an i/o error.
Might this new observation be of any significance?
Thanks,
Jon
next prev parent reply other threads:[~2014-08-21 22:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-12 16:29 trouble using S/PDIF input on CMI8738-MC6: C-Media CMI8738 (model 55) jon
2014-08-13 15:14 ` Clemens Ladisch
2014-08-13 17:11 ` Jon
2014-08-21 0:20 ` Jon
2014-08-21 10:31 ` Clemens Ladisch
2014-08-21 22:07 ` Jon [this message]
2014-08-22 8:50 ` Clemens Ladisch
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=53F66DA7.4010807@seniorblanco.com \
--to=jon@seniorblanco.com \
--cc=alsa-devel@alsa-project.org \
--cc=clemens@ladisch.de \
/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.