Hi! I'm trying to record through the RCA S/PDIF IN port. My system is:
Linux 2.4.19 i386 SMP + Alsa 9.0rc1 CMIPCI driver The playback works fine but recording looks like this: joshua@remix:~$ arecord -v -D spdif -t wav -f S16_LE -r 44100 -c 2 iectest Recording WAVE 'iectest' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo Hooks PCM Its setup is: stream : CAPTURE access : RW_INTERLEAVED format : S16_LE subformat : STD channels : 2 rate : 44100 exact rate : 44100 (44100/1) msbits : 16 buffer_size : 16384 period_size : 4096 period_time : 92879 tick_time : 10000 tstamp_mode : NONE period_step : 1 sleep_min : 0 avail_min : 4096 xfer_align : 4096 start_threshold : 1 stop_threshold : 16384 silence_threshold: 0 silence_size : 0 boundary : 1073741824 Slave: Hardware PCM card 0 'C-Media PCI CMI8738-MC6' device 2 subdevice -1 Its setup is: stream : CAPTURE access : RW_INTERLEAVED format : S16_LE subformat : STD channels : 2 rate : 44100 exact rate : 44100 (44100/1) msbits : 16 buffer_size : 16384 period_size : 4096 period_time : 92879 tick_time : 10000 tstamp_mode : NONE period_step : 1 sleep_min : 0 avail_min : 4096 xfer_align : 4096 start_threshold : 1 stop_threshold : 16384 silence_threshold: 0 silence_size : 0 boundary : 1073741824 Max peak (8192 samples): 32767 (0x7fff) #################### 100% Max peak (8192 samples): 32767 (0x7fff) #################### 100% Max peak (8192 samples): 32767 (0x7fff) #################### 100% Max peak (8192 samples): 32767 (0x7fff) #################### 100% ... When i disconnect the cable then i get an I/O error so it is *somewhat* connected. However, i can't get a normal recording. Does the driver from C-Media work better than the Alsa driver? I haven't tried it yet (20% done downloading ...). Any other suggestions? My asound.state is attached. -- Victory to the Divine Mother!! after all, http://sahajayoga.org http://why-compete.org
state.card0 { control.1 { comment.access 'read write' comment.type INTEGER comment.range '0 - 31' iface MIXER name 'Master Playback Volume' value.0 31 value.1 31 } control.2 { comment.access 'read write' comment.type BOOLEAN iface MIXER name '3D Enhancement Switch' value false } control.3 { comment.access 'read write' comment.type INTEGER comment.range '0 - 15' iface MIXER name 'Tone Control - Bass' value.0 15 value.1 15 } control.4 { comment.access 'read write' comment.type INTEGER comment.range '0 - 15' iface MIXER name 'Tone Control - Treble' value.0 15 value.1 15 } control.5 { comment.access 'read write' comment.type INTEGER comment.range '0 - 31' iface MIXER name 'PCM Playback Volume' value.0 31 value.1 31 } control.6 { comment.access 'read write' comment.type BOOLEAN iface MIXER name 'Synth Capture Route' value.0 false value.1 false value.2 false value.3 false } control.7 { comment.access 'read write' comment.type INTEGER comment.range '0 - 31' iface MIXER name 'Synth Playback Volume' value.0 5 value.1 5 } control.8 { comment.access 'read write' comment.type BOOLEAN iface MIXER name 'CD Capture Route' value.0 false value.1 false value.2 false value.3 false } control.9 { comment.access 'read write' comment.type BOOLEAN iface MIXER name 'CD Playback Switch' value.0 true value.1 true } control.10 { comment.access 'read write' comment.type INTEGER comment.range '0 - 31' iface MIXER name 'CD Playback Volume' value.0 25 value.1 25 } control.11 { comment.access 'read write' comment.type BOOLEAN iface MIXER name 'Line Capture Route' value.0 true value.1 false value.2 false value.3 true } control.12 { comment.access 'read write' comment.type BOOLEAN iface MIXER name 'Line Playback Switch' value.0 true value.1 true } control.13 { comment.access 'read write' comment.type INTEGER comment.range '0 - 31' iface MIXER name 'Line Playback Volume' value.0 31 value.1 31 } control.14 { comment.access 'read write' comment.type BOOLEAN iface MIXER name 'Mic Capture Switch' value.0 true value.1 false } control.15 { comment.access 'read write' comment.type BOOLEAN iface MIXER name 'Mic Playback Switch' value true } control.16 { comment.access 'read write' comment.type INTEGER comment.range '0 - 31' iface MIXER name 'Mic Playback Volume' value 31 } control.17 { comment.access 'read write' comment.type INTEGER comment.range '0 - 3' iface MIXER name 'PC Speaker Volume' value 1 } control.18 { comment.access 'read write' comment.type INTEGER comment.range '0 - 3' iface MIXER name 'Capture Volume' value.0 3 value.1 3 } control.19 { comment.access 'read write' comment.type INTEGER comment.range '0 - 3' iface MIXER name 'Playback Volume' value.0 3 value.1 3 } control.20 { comment.access 'read write' comment.type BOOLEAN iface MIXER name 'Auto Mic Gain' value false } }