Skip to contentSkip to conversation

asound.conf for multiple cards one device

DISCUSSION Fergus Reid 2 participants 3 messages Nov 7, 2002 – Nov 8, 2002

lore
Share & tools
lore
#0 lore raw

Hi, I'm trying to configure asound.conf to support "two cards as one" (but with 3, 8 channel cards!) as suggested in the .asoundrc doc. When I try to aplay the new device however I get:

"ALSA lib pcm_multi.c:928:(_snd_pcm_multi_open) Invalid or missing schannel for channel 0
aplay: main:462: audio open error: Invalid argument"

I'm using three terratec ews88mt cards and my asound.conf looks like this:

pcm_slave.ssl8_s {
pcm ssl8_0
}
pcm.ssl8_0 {
type hw
card 0
}
ctl.ssl8_0 {
type hw
card 0
}
pcm.ssl8_1 {
type hw
card 1
}
ctl.ssl8_1 {
type hw
card 1
}
pcm.ssl8_2 {
type hw
card 2
}
ctl.ssl8_2 {
type hw
card 2
}
ctl.ssl_24 {
type hw
card 0
}

pcm.ssl_24 {
type multi;
slaves.a.pcm ssl8_0;
slaves.a.channels 8;
slaves.b.pcm ssl8_1;
slaves.b.channels 8;
bindings.0.slave a;
bindings.0.channel 0;
bindings.1.slave a;
bindings.1.channel 1;
bindings.2.slave a;
bindings.2.channel 2;
bindings.3.slave a;
bindings.3.channel 3;
bindings.4.slave a;
bindings.4.channel 4;
bindings.5.slave a;
bindings.5.channel 5;
bindings.6.slave a;
bindings.6.channel 6;
bindings.7.slave a;
bindings.7.channel 7;

bindings.0.slave b;
bindings.0.channel 8;
bindings.1.slave b;
bindings.1.channel 9;
bindings.2.slave b;
bindings.2.channel 10;
bindings.3.slave b;
bindings.3.channel 11;
bindings.4.slave b;
bindings.4.channel 12;
bindings.5.slave b;
bindings.5.channel 13;
bindings.6.slave b;
bindings.6.channel 14;
bindings.7.slave b;
bindings.7.channel 15;

bindings.0.slave c;
bindings.0.channel 16;
bindings.1.slave c;
bindings.1.channel 17;
bindings.2.slave c;
bindings.2.channel 18;
bindings.3.slave c;
bindings.3.channel 19;
bindings.4.slave c;
bindings.4.channel 20;
bindings.5.slave c;
bindings.5.channel 21;
bindings.6.slave c;
bindings.6.channel 22;
bindings.7.slave c;
bindings.7.channel 23;
}

pcm.ttable {
type route;
slave.pcm "ssl_24";
ttable.0.0 1;
ttable.1.1 1;
ttable.2.2 1;
ttable.3.3 1;
ttable.4.4 1;
ttable.5.5 1;
ttable.6.6 1;
ttable.7.7 1;
ttable.8.8 1;
ttable.9.9 1;
ttable.10.10 1;
ttable.11.11 1;
ttable.12.12 1;
ttable.13.13 1;
ttable.14.14 1;
ttable.15.15 1;
ttable.16.16 1;
ttable.17.17 1;
ttable.18.18 1;
ttable.19.19 1;
ttable.20.20 1;
ttable.21.21 1;
ttable.22.22 1;
ttable.23.23 1;
}

# see above.
ctl.ttable {
       type hw;
       card 0;
}

Incidentally I can't see what the first pcm_slave entry is for. Can I get this to work somehow? Thanks
Fergus

**********************************************************************
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager.

This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************

-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en

#1 lore raw
Quoted 9 lines

Hi, I'm trying to configure asound.conf to support "two cards as one" (but with 3, 8 channel cards!) as suggested in the .asoundrc doc. When I try to aplay the new device however I get:

"ALSA lib pcm_multi.c:928:(_snd_pcm_multi_open) Invalid or missing schannel for channel 0
aplay: main:462: audio open error: Invalid argument"

I'm using three terratec ews88mt cards and my asound.conf looks like this:

its great that you're trying this out. how does it feel out there on the frontier, with the bison, wolves, coyotes etc.? :))

Quoted 6 lines
pcm.ssl_24 {
   type multi;
   slaves.a.pcm ssl8_0;
   slaves.a.channels 8;
   slaves.b.pcm ssl8_1;
   slaves.b.channels 8;

no definition for slaves.c ... yet later ...

Quoted 1 line
   bindings.0.slave c;

-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en

#2 lore raw
Quoted 4 lines · Paul Davis
Quoted 4 lines

Hi, I'm trying to configure asound.conf to support "two cards as one" (but with 3, 8 channel cards!) as suggested in the .asoundrc doc. When I try to aplay the new device however I get:

Quoted 8 lines
Quoted 5 lines

"ALSA lib pcm_multi.c:928:(_snd_pcm_multi_open) Invalid or missing schannel for channel 0
aplay: main:462: audio open error: Invalid argument"

I'm using three terratec ews88mt cards and my asound.conf looks like this:

its great that you're trying this out. how does it feel out there on the frontier, with the bison, wolves, coyotes etc.? :))

It's cold and lonely, but you get a great view.

Quoted 11 lines
Quoted 7 lines
pcm.ssl_24 {
   type multi;
   slaves.a.pcm ssl8_0;
   slaves.a.channels 8;
   slaves.b.pcm ssl8_1;
   slaves.b.channels 8;

no definition for slaves.c ... yet later ...

Quoted 1 line
   bindings.0.slave c;

whoops. Typo in mail, original file is correct but not working!

Quoted 12 lines

-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
Alsa-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

**********************************************************************
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager.

This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************

-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en