I would like to record via SPDIF in and have no idea why it doesn't
work. Maybe it is something trivial. It could be that my
asound.state is not correct or I don't use the right syntax when
recording. I tried different apps like audacity, qarecord, ecasound
and others. Analogue playback works.
Please tell me what to do exactly, especiall which syntax I should
try for recording.
Below there is some info of my system.
hwinfo --sound
17: PCI 0b.0: 0401 Multimedia audio controller
[Created at pci.65]
Hardware Class: sound
Model: "TERRATEC CM8738"
Vendor: pci 0x13f6 "C-Media Electronics Inc"
Device: pci 0x0111 "CM8738"
SubVendor: pci 0x153b "TERRATEC Electronic GmbH"
SubDevice: pci 0x1144
Revision: 0x10
I/O Ports: 0xb800-0xb8ff (rw)
IRQ: 10 (745 events)
Driver Info #0:
Driver Info: snd-cmipci
Config Status: cfg=yes, avail=yes, need=no
Distri:
SuSE 8.2
Kernel:
uname -r
2.4.25-pre7
Driver compiled from
ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.2.tar.bz2
Installed rpms:
http://packman.links2linux.de/index.php4?action=217&vn=2
alsa-1.0.2-0.pm.1.i586.rpm
http://packman.links2linux.de/index.php4?action=218&vn=2
alsa-tools-1.0.2-0.pm.0.i586.rpm
from /etc/modules.conf
# --- ALSACONF verion 1.0.1 ---
alias char-major-116 snd
alias char-major-14 soundcore
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias snd-card-0 snd-cmipci
alias sound-slot-0 snd-cmipci
arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: CMI8738MC6 [C-Media PCI CMI8738-MC6], device 0: CMI8738-MC6
[C-Media PCI DAC/ADC]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: CMI8738MC6 [C-Media PCI CMI8738-MC6], device 2: CMI8738-MC6
[C-Media PCI IEC958]
Subdevices: 1/1
Subdevice #0: subdevice #0
cat /etc/asound.state
state.CMI8738MC6 {
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 Control - Switch'
value false
}
control.3 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'PCM Playback Volume'
value.0 31
value.1 31
}
control.4 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'PCM Playback Switch'
value true
}
control.5 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'PCM Capture Switch'
value.0 false
value.1 false
}
control.6 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Synth Playback Volume'
value.0 28
value.1 28
}
control.7 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Synth Playback Switch'
value true
}
control.8 {
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.9 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'CD Playback Volume'
value.0 28
value.1 28
}
control.10 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'CD Playback Switch'
value.0 true
value.1 true
}
control.11 {
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.12 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Line Playback Volume'
value.0 0
value.1 0
}
control.13 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Line Playback Switch'
value.0 false
value.1 false
}
control.14 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Line Capture Route'
value.0 false
value.1 false
value.2 false
value.3 false
}
control.15 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 31'
iface MIXER
name 'Mic Playback Volume'
value 0
}
control.16 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Mic Playback Switch'
value false
}
control.17 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Mic Capture Switch'
value false
}
control.18 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 3'
iface MIXER
name 'PC Speaker Playback Volume'
value 3
}
control.19 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 15'
iface MIXER
name 'Aux Playback Volume'
value.0 0
value.1 0
}
control.20 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Aux Playback Switch'
value.0 false
value.1 false
}
control.21 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Aux Capture Switch'
value.0 false
value.1 false
}
control.22 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Mic Boost'
value false
}
control.23 {
comment.access 'read write'
comment.type INTEGER
comment.range '0 - 7'
iface MIXER
name 'Mic Capture Volume'
value 0
}
control.24 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Four Channel Mode'
value false
}
control.25 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Line-In As Rear'
value true
}
control.26 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'IEC958 Output Switch'
value false
}
control.27 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'IEC958 In Valid'
value false
}
control.28 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'IEC958 Copyright'
value false
}
control.29 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'IEC958 5V'
value true
}
control.30 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'IEC958 Loop'
value true
}
control.31 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'IEC958 In Monitor'
value false
}
control.32 {
comment.access 'read write'
comment.type IEC958
iface PCM
device 2
name 'IEC958 Playback Default'
value
'0082000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
}
control.33 {
comment.access read
comment.type IEC958
iface MIXER
device 2
name 'IEC958 Playback Con Mask'
value
ffffffff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
}
control.34 {
comment.access 'read write inactive'
comment.type IEC958
iface PCM
device 2
name 'IEC958 Playback PCM Stream'
value
'0082000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
}
control.35 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Line-In As Bass'
value false
}
control.36 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'IEC958 In Select'
value false
}
control.37 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'IEC958 In Phase Inverse'
value false
}
control.38 {
comment.access 'read write'
comment.type BOOLEAN
iface MIXER
name 'Mic As Center/LFE'
value true
}
control.39 {
comment.access 'read write'
comment.type BOOLEAN
iface CARD
name Modem
value false
}
}
Thanks a lot!
Al
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user