asound.conf Probleme nach Update auf Suse 10.2

K

Kenji

Grünschnabel
Hi

Ich hab da leichte Troubles mit der asound.conf.

Ich habe ein Gateway von Knoppix auf Suse upgedatet und seit dem läuft die asound.conf nicht mehr richtig

ALSA lib pcm_direct.c:1379: (snd_pcm_direct_parse_bindings) invalid slave channel number 2 in binding to 0
aplay: main:545: audio open error: Invalid argument


Knoppix Original config:


pcm.ice1712 {
type hw
card 0
}

ctl.ice1712 {
type hw
card 0
}


pcm.via82xx {
type hw
card 1
}

ctl.via82xx {
type hw
card 1
}

# pcm.!default {
# type plug
# slave.pcm "duplex02"
# }

pcm.intmix {
type dmix
ipc_key 1024
#slave.pcm "snd_card"
slave {
pcm "hw:1,0"
#period_time 0
period_size 64
buffer_size 1024
#channels 1
#rate 16000
}
bindings {
0 0
1 1
}
}




pcm.ossmix01 {
type dmix
ipc_key 1024
slave.pcm "snd_card"
slave {
pcm "hw:0,0"
#period_time 0
period_size 64
buffer_size 1024
channels 1
rate 8000
}
bindings {
0 0
1 1
}
}


pcm.ossmix02 {
type dmix
ipc_key 1024
slave.pcm "snd_card"
slave {
pcm "hw:0,0"
period_size 64
buffer_size 1024
channels 1
rate 8000
}
bindings {
0 2
1 3
}
}


pcm.ossmix03 {
type dmix
ipc_key 1024
slave.pcm "snd_card"
slave {
pcm "hw:0,0"
period_size 64
buffer_size 1024
channels 1
rate 8000
}
bindings {
0 4
1 5
}
}

pcm.ossmix04 {
type dmix
ipc_key 1024
slave.pcm "snd_card"
slave {
pcm "hw:0,0"
rate 8000
period_size 64
buffer_size 1024
channels 1
}
bindings {
0 6
1 7
}
}


# Allow reading from the default device.
# Also known as record or capture.

pcm.input01 {
type dsnoop
ipc_key 2048

slave.pcm "snd_card"
slave {
pcm "hw:0,0"
period_size 64
buffer_size 1024
rate 8000
}

bindings {
0 0
1 1
}
}

pcm.input02 {
type dsnoop
ipc_key 2048

slave.pcm "snd_card"
slave {
pcm "hw:0,0"
period_size 64
buffer_size 1024
rate 8000
}


bindings {
0 2
1 3
}
}

pcm.input03 {
type dsnoop
ipc_key 2048

slave.pcm "snd_card"
slave {
pcm "hw:0,0"
period_size 64
buffer_size 1024
rate 8000
}
bindings {

0 4
1 5
}
}


pcm.input04 {
type dsnoop
ipc_key 2048

slave.pcm "snd_card"
slave {
pcm "hw:0,0"
period_size 64
buffer_size 1024
rate 8000
}
bindings {
0 6
1 7
}
}


pcm.duplex01{
type asym
playback.pcm "ossmix01"
capture.pcm "input01"
}
pcm.duplex02{
type asym
playback.pcm "ossmix02"
capture.pcm "input02"
}
pcm.duplex03{
type asym
playback.pcm "ossmix03"
capture.pcm "input03"
}
pcm.duplex04{
type asym
playback.pcm "ossmix04"
capture.pcm "input04"
}







--------------------------------------------------------------------------------




Suse test config laut wiki:

Bei der kommt einfach nur ein Ton...



pcm.ice1712 {
type hw
card 0
}

ctl.ice1712 {
type hw
card 0
}


#disable dmix
#pcm.!default {
#type plug
#slave.pcm hw
#}

#tut
pcm.demo {
type asym
playback.pcm {
type plug
slave.pcm {
@func concat
strings [ "dmix:0,FORMAT=S32_LE" ] #card number 0
}
ttable.0.0 1
ttable.1.1 1
ttable.0.2 1
ttable.1.3 1
ttable.0.4 0.5
ttable.1.4 0.5
ttable.0.5 0.5
ttable.1.5 0.5
}
capture.pcm {
type plug
slave.pcm {
@func concat
strings [ "dsnoop:0,FORMAT=S32_LE" ]#card number 0
}
}
}

pcm.duplex01 {
type asym
playback.pcm {
type plug
slave.pcm {
@func concat
strings [ "dmix:0,FORMAT=S32_LE" ] #card number 0
}
ttable.0.0 1
ttable.1.1 1
}
capture.pcm {
type plug
slave.pcm {
@func concat
strings [ "dsnoop:0,FORMAT=S32_LE" ]#card number 0
}
ttable.0.0 1
ttable.1.1 1
}
}

pcm.duplex02 {
type asym
playback.pcm {
type plug
slave.pcm {
@func concat
strings [ "dmix:0,FORMAT=S32_LE" ] #card number 0
}
ttable.0.2 1
ttable.1.3 1
}
capture.pcm {
type plug
slave.pcm {
@func concat
strings [ "dsnoop:0,FORMAT=S32_LE" ]#card number 0
}
ttable.0.2 1
ttable.1.3 1
}
}

pcm.duplex03 {
type asym
playback.pcm {
type plug
slave.pcm {
@func concat
strings [ "dmix:0,FORMAT=S32_LE" ] #card number 0
}
ttable.0.4 1
ttable.1.5 1
}
capture.pcm {
type plug
slave.pcm {
@func concat
strings [ "dsnoop:0,FORMAT=S32_LE" ]#card number 0
}
ttable.0.4 1
ttable.1.5 1
}
}

pcm.duplex04 {
type asym
playback.pcm {
type plug
slave.pcm {
@func concat
strings [ "dmix:0,FORMAT=S32_LE" ] #card number 0
}
ttable.0.6 1
ttable.1.7 1
}
capture.pcm {
type plug
slave.pcm {
@func concat
strings [ "dsnoop:0,FORMAT=S32_LE" ]#card number 0
}
ttable.0.6 1
ttable.1.7 1
}
}

pcm.ossmix04 {
type dmix
ipc_key 1024
slave.pcm "snd_card"
slave {
pcm "hw:0,0"
rate 8000
period_size 64
buffer_size 1024
channels 1
}
bindings {
0 6
1 7
}
}


# Allow reading from the default device.
# Also known as record or capture.

pcm.input01 {
type dsnoop
ipc_key 2048

slave.pcm "snd_card"
slave {
pcm "hw:0,0"
period_size 64
buffer_size 1024
rate 48000
}

bindings {
0 0
1 1
}
}



mfg

Kenji
.
.
.
EDIT (autom. Beitragszusammenführung) :
.

Kleines Update: plug:duplex01 funkt,
beim 02, 03 und 04 bekomm ich noch immer die Fehlermeldung das die Bindings nicht stimmen.

Neue Config:


pcm.ice1712 {
type hw
card 0
}

ctl.ice1712 {
type hw
card 0
}


pcm.via82xx {
type hw
card 1
}

ctl.via82xx {
type hw
card 1
}

# pcm.!default {
# type plug
# slave.pcm "duplex02"
# }

pcm.intmix {
type dmix
ipc_key 1024
#slave.pcm "snd_card"
slave {
pcm "hw:1,0"
#period_time 0
period_size 64
buffer_size 1024
#channels 1
#rate 16000
}
bindings {
0 0
1 1
}
}




pcm.ossmix01 {
type dmix
ipc_key 1024
#slave.pcm "snd_card"
slave {
pcm "hw:0,0"
#period_time 0
period_size 64
buffer_size 1024
#channels 1
#rate 8000
}
bindings {
0 0
1 1
}
}


pcm.ossmix02 {
type dmix
ipc_key 1024
#slave.pcm "snd_card"
slave {
pcm "hw:0,0"
period_size 64
buffer_size 1024
#channels 1
#rate 8000
}
bindings {
0 2
1 3
}
}


pcm.ossmix03 {
type dmix
ipc_key 1024
# slave.pcm "snd_card"
slave {
pcm "hw:0,0"
period_size 64
buffer_size 1024
# channels 1
# rate 8000
}
bindings {
0 4
1 5
}
}

pcm.ossmix04 {
type dmix
ipc_key 1024
# slave.pcm "snd_card"
slave {
pcm "hw:0,0"
# rate 8000
period_size 64
buffer_size 1024
# channels 1
}
bindings {
0 6
1 7
}
}


# Allow reading from the default device.
# Also known as record or capture.

pcm.input01 {
type dsnoop
ipc_key 2048

slave.pcm "snd_card"
slave {
pcm "hw:0,0"
period_size 64
buffer_size 1024
rate 8000
}

bindings {
0 0
1 1
}
}

pcm.input02 {
type dsnoop
ipc_key 2048

slave.pcm "snd_card"
slave {
pcm "hw:0,0"
period_size 64
buffer_size 1024
rate 8000
}


bindings {
0 2
1 3
}
}

pcm.input03 {
type dsnoop
ipc_key 2048

slave.pcm "snd_card"
slave {
pcm "hw:0,0"
period_size 64
buffer_size 1024
rate 8000
}
bindings {

0 4
1 5
}
}


pcm.input04 {
type dsnoop
ipc_key 2048

slave.pcm "snd_card"
slave {
pcm "hw:0,0"
period_size 64
buffer_size 1024
rate 8000
}
bindings {
0 6
1 7
}
}


pcm.duplex01{
type asym
playback.pcm "ossmix01"
capture.pcm "input01"
}
pcm.duplex02{
type asym
playback.pcm "ossmix02"
capture.pcm "input02"
}
pcm.duplex03{
type asym
playback.pcm "ossmix03"
capture.pcm "input03"
}
pcm.duplex04{
type asym
playback.pcm "ossmix04"
capture.pcm "input04"
}
 
Zuletzt bearbeitet:
So das Problem ist eindeutig, die bindings beim ossmix ;(

bei

0 0
1 1

Funktioniert alles beim Rest kommt immer die Fehlermeldung...

Irgendwelche Ideen dazu?
 

Ähnliche Themen

Pulseaudio unter Debian multiple Output

Displayport + externer Monitor zeigt bei startx nichts erst bei DVI

Samba 4 Gast Zugang unter Ubuntu funktioniert nicht

NagiosGrapher 1.7.1 funktioniert nicht

.asoundrc für USB-Soundkarte konfigurieren

Zurück
Oben