Hi,

I just bought a new sound card based on the CMI8738 chip. If I select the "IEC958 
Loop" flag the S/PDIF input is routed to S/PDIF output as it is supposed to be. Also, 
I am able to play mp3 files through S/PDIF out.

But: I am not able to record the S/PDIF input. Example:

--
#arecord -D spdif -f cd foo.wav
Recording WAVE 'foo.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
...(10 seconds go)...
arecord: pcm_read:1049: read error: Input/output error
#
--

I have tried almost any setting for the mixer for example turning "IEC958 In Monitor" 
on and off, "IEC958 In loop" on and off etc. Inspired by an old mail on this mailing 
list I even tried to hack the source and changed the two "#if 0" to "#if 1". This gave 
me some extra options in the mixer , including "IEC958 In Record". Turning this option 
off (!) actually allows me to record with the above command. Unfortunately apparently 
nothing is recorded.

Some info:

--
# cat /proc/asound/cards
0 [CMI8738MC6     ]: CMI8738-MC6 - C-Media PCI CMI8738-MC6
                     C-Media PCI CMI8738-MC6 (model 55) at 0xec00, irq 11
#
--

The file cmipci.c is dated 1. of february 2003 and is 93680 bytes and has md5sum 
9904a0fee4a46f4c83178d28d9bd1dc4 (I got it from the current debian testing 
distribution).


Christian



-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to