I got myself a "Zoltrix Nightingale" with optical module for optical spdif input and output, which is cmi 8738 based.
Alsa-driver 0.9.8 compiled fine and was installed without problems. Normal audio playback via speakers or via coaxial and optical spdif works like a charm, too.
I have, however, problems recording something from the optical spdif input. "arecord -l" shows this:
------------------------------schnipp--------------------------------
**** List of CAPTURE Hardware Devices ****
card 0: CMI8738 [C-Media PCI CMI8738], device 0: CMI8738 [C-Media PCI DAC/ADC]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: CMI8738 [C-Media PCI CMI8738], device 2: CMI8738 [C-Media PCI IEC958]
Subdevices: 1/1
Subdevice #0: subdevice #0
------------------------------schnipp--------------------------------
As you probably know, "alsa-mixer" lets you specify various things, which I have set currently as follows:
- iec958 5v: on - iec958 copyright: off (muted) - iec958 in monitor: on - iec958 in phase inverse: off (muted) - iec958 in select: on - iec958 in valid: on - iec958 loop: off (muted) - iec958 mix analog: off (muted) - iec958 output: off (muted)
(Of course I played around with these values, especially because I don't know what some of them actually mean (for example: in select, in valid, loop and mix analog))
In theory, I'd like to record the raw iec958 subframes, but using arecord like this fails:
------------------------------schnipp-------------------------------- > arecord -v -D hw:0,2 -f IEC958_SUBFRAME_LE arecord: begin_wave:1608: Wave doesn't support IEC958_SUBFRAME_LE format... ------------------------------schnipp--------------------------------
I'm wondering what "wave" is about, since I want to capture the iec958 subframes...
Using "arecord -v -v -D hw:0,2 -f dat > /tmp/a.wav", however, does not return anything on the device:
------------------------------schnipp-------------------------------- Recording WAVE 'stdout' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo Hardware PCM card 0 'C-Media PCI CMI8738' device 2 subdevice 0
Its setup is: stream : CAPTURE access : RW_INTERLEAVED format : S16_LE subformat : STD channels : 2 rate : 48000 exact rate : 48000 (48000/1) msbits : 16 buffer_size : 16384 period_size : 6000 period_time : 125000 tick_time : 10000 tstamp_mode : NONE period_step : 1 sleep_min : 0 avail_min : 6000 xfer_align : 6000 start_threshold : 1 stop_threshold : 16384 silence_threshold: 0 silence_size : 0 boundary : 1073741824 arecord: pcm_read:1165: read error: Input/output error ------------------------------schnipp--------------------------------
Looking at the driver source "cmipci.c" shows an unused define #define USE_AES_IEC958
I'm wondering what this is used for, too.
So: Does anybody have spdif optical input on an cmi8738 based pci soundcard working?
Any help is really appreciated.
CU Michael.
------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user