On 01/06/2015 09:05 AM, F. Silvain wrote:
Raphael BOLLEN, Jan 6 2015:
Hi All,
I'm trying to use 2 RME Raydat cards simultaneously with jack. I added this .asoundrc [1] and jack
reports this:
~$ jackd -d alsa -d DualRays
jackdmp 1.9.11
...
I have read, that JACK versions 0.x are preferrable for ALSA multi devices.
Did you sync your cards? It's possible via wordclock or S/PDIF. The second card must be set to take
it's clock from the respective input.
...
~$ cat .asoundrc
ctl.DualRays {
type hw;
card 0;
}
pcm.DualRays {
type multi;
slaves.a.pcm "hw:0,0";
slaves.a.channels 32;
slaves.b.pcm "hw:1,0";
slaves.b.channels 32;
I have used two devices, one for input and output respectively. This article may help, even though
it is written for the M-Audio Delta cards. Be sure to use the correct channel count. Some cards -
due to their chips - have more channels than you can really use.
http://www.jrigg.co.uk/linuxaudio/ice1712multi.html
...
Good luck!
Ta-ta
----
Ffanci
* Internet: https://freeshell.de/~silvain
Twitter: http://twitter.com/ffanci_silvain
Thanks for the pointers. I could understand that you need to define ctl and pcm for both capture and
playback and use the number of channels of the card (36) and not the number of channels really used (32)
--
Raphaël
For reference working .asoundrc:
~$ cat .asoundrc
ctl.DualRays_rec {
type hw;
card 0;
}
pcm.DualRays_rec {
type multi;
slaves.a.pcm hw:0;
slaves.a.channels 36;
slaves.b.pcm hw:1;
slaves.b.channels 36;
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.8.slave a;
bindings.8.channel 8;
bindings.9.slave a;
bindings.9.channel 9;
bindings.10.slave a;
bindings.10.channel 10;
bindings.11.slave a;
bindings.11.channel 11;
bindings.12.slave a;
bindings.12.channel 12;
bindings.13.slave a;
bindings.13.channel 13;
bindings.14.slave a;
bindings.14.channel 14;
bindings.15.slave a;
bindings.15.channel 15;
bindings.16.slave a;
bindings.16.channel 16;
bindings.17.slave a;
bindings.17.channel 17;
bindings.18.slave a;
bindings.18.channel 18;
bindings.19.slave a;
bindings.19.channel 19;
bindings.20.slave a;
bindings.20.channel 20;
bindings.21.slave a;
bindings.21.channel 21;
bindings.22.slave a;
bindings.22.channel 22;
bindings.23.slave a;
bindings.23.channel 23;
bindings.24.slave a;
bindings.24.channel 24;
bindings.25.slave a;
bindings.25.channel 25;
bindings.26.slave a;
bindings.26.channel 26;
bindings.27.slave a;
bindings.27.channel 27;
bindings.28.slave a;
bindings.28.channel 28;
bindings.29.slave a;
bindings.29.channel 29;
bindings.30.slave a;
bindings.30.channel 30;
bindings.31.slave a;
bindings.31.channel 31;
bindings.32.slave b;
bindings.32.channel 0;
bindings.33.slave b;
bindings.33.channel 1;
bindings.34.slave b;
bindings.34.channel 2;
bindings.35.slave b;
bindings.35.channel 3;
bindings.36.slave b;
bindings.36.channel 4;
bindings.37.slave b;
bindings.37.channel 5;
bindings.38.slave b;
bindings.38.channel 6;
bindings.39.slave b;
bindings.39.channel 7;
bindings.40.slave b;
bindings.40.channel 8;
bindings.41.slave b;
bindings.41.channel 9;
bindings.42.slave b;
bindings.42.channel 10;
bindings.43.slave b;
bindings.43.channel 11;
bindings.44.slave b;
bindings.44.channel 12;
bindings.45.slave b;
bindings.45.channel 13;
bindings.46.slave b;
bindings.46.channel 14;
bindings.47.slave b;
bindings.47.channel 15;
bindings.48.slave b;
bindings.48.channel 16;
bindings.49.slave b;
bindings.49.channel 17;
bindings.50.slave b;
bindings.50.channel 18;
bindings.51.slave b;
bindings.51.channel 19;
bindings.52.slave b;
bindings.52.channel 20;
bindings.53.slave b;
bindings.53.channel 21;
bindings.54.slave b;
bindings.54.channel 22;
bindings.55.slave b;
bindings.55.channel 23;
bindings.56.slave b;
bindings.56.channel 24;
bindings.57.slave b;
bindings.57.channel 25;
bindings.58.slave b;
bindings.58.channel 26;
bindings.59.slave b;
bindings.59.channel 27;
bindings.60.slave b;
bindings.60.channel 28;
bindings.61.slave b;
bindings.61.channel 29;
bindings.62.slave b;
bindings.62.channel 30;
bindings.63.slave b;
bindings.63.channel 31;
}
ctl.DualRays_play {
type hw;
card 0;
}
pcm.DualRays_play {
type multi;
slaves.a.pcm hw:0;
slaves.a.channels 36;
slaves.b.pcm hw:1;
slaves.b.channels 36;
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.8.slave a;
bindings.8.channel 8;
bindings.9.slave a;
bindings.9.channel 9;
bindings.10.slave a;
bindings.10.channel 10;
bindings.11.slave a;
bindings.11.channel 11;
bindings.12.slave a;
bindings.12.channel 12;
bindings.13.slave a;
bindings.13.channel 13;
bindings.14.slave a;
bindings.14.channel 14;
bindings.15.slave a;
bindings.15.channel 15;
bindings.16.slave a;
bindings.16.channel 16;
bindings.17.slave a;
bindings.17.channel 17;
bindings.18.slave a;
bindings.18.channel 18;
bindings.19.slave a;
bindings.19.channel 19;
bindings.20.slave a;
bindings.20.channel 20;
bindings.21.slave a;
bindings.21.channel 21;
bindings.22.slave a;
bindings.22.channel 22;
bindings.23.slave a;
bindings.23.channel 23;
bindings.24.slave a;
bindings.24.channel 24;
bindings.25.slave a;
bindings.25.channel 25;
bindings.26.slave a;
bindings.26.channel 26;
bindings.27.slave a;
bindings.27.channel 27;
bindings.28.slave a;
bindings.28.channel 28;
bindings.29.slave a;
bindings.29.channel 29;
bindings.30.slave a;
bindings.30.channel 30;
bindings.31.slave a;
bindings.31.channel 31;
bindings.32.slave b;
bindings.32.channel 0;
bindings.33.slave b;
bindings.33.channel 1;
bindings.34.slave b;
bindings.34.channel 2;
bindings.35.slave b;
bindings.35.channel 3;
bindings.36.slave b;
bindings.36.channel 4;
bindings.37.slave b;
bindings.37.channel 5;
bindings.38.slave b;
bindings.38.channel 6;
bindings.39.slave b;
bindings.39.channel 7;
bindings.40.slave b;
bindings.40.channel 8;
bindings.41.slave b;
bindings.41.channel 9;
bindings.42.slave b;
bindings.42.channel 10;
bindings.43.slave b;
bindings.43.channel 11;
bindings.44.slave b;
bindings.44.channel 12;
bindings.45.slave b;
bindings.45.channel 13;
bindings.46.slave b;
bindings.46.channel 14;
bindings.47.slave b;
bindings.47.channel 15;
bindings.48.slave b;
bindings.48.channel 16;
bindings.49.slave b;
bindings.49.channel 17;
bindings.50.slave b;
bindings.50.channel 18;
bindings.51.slave b;
bindings.51.channel 19;
bindings.52.slave b;
bindings.52.channel 20;
bindings.53.slave b;
bindings.53.channel 21;
bindings.54.slave b;
bindings.54.channel 22;
bindings.55.slave b;
bindings.55.channel 23;
bindings.56.slave b;
bindings.56.channel 24;
bindings.57.slave b;
bindings.57.channel 25;
bindings.58.slave b;
bindings.58.channel 26;
bindings.59.slave b;
bindings.59.channel 27;
bindings.60.slave b;
bindings.60.channel 28;
bindings.61.slave b;
bindings.61.channel 29;
bindings.62.slave b;
bindings.62.channel 30;
bindings.63.slave b;
bindings.63.channel 31;
}
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user