1 (edited by Rothchild 2021-05-19 11:46:22)

Topic: Help creating a merged card please?

I'm trying to migrate my DAW to linux but I'm really struggling with this aspect of the setup.

I've got two cards, one with a Digiface and one with a Multiface on them, they're all tied together with wordclock etc so I'd like to make a merged card so that I can directly access all the I/O from within Reaper (and just use the ALSA driver, don't realy need Jack at the moment).

I've found a few guides and referrences, the clearest and most likely is this one: https://alsa.opensrc.org/RME_Hammerfall_.asoundrc and this one: https://jackaudio.org/faq/multiple_devices.html

I've ended up with an asoundrc.conf that looks like this:

pcm.merge {
    type multi;
    slaves.a.pcm hw:DSP
    slaves.a.channels 26;
    slaves.b.pcm hw:DSP_1
    slaves.b.channels 18;
    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;
#Multiface
    bindings.26.slave b;
    bindings.26.channel 26;
    bindings.27.slave b;
    bindings.27.channel 27;
    bindings.28.slave b;
    bindings.28.channel 28;
    bindings.29.slave b;
    bindings.29.channel 29;
    bindings.30.slave b;
    bindings.30.channel 30;
    bindings.31.slave b;
    bindings.31.channel 31;
    bindings.32.slave b;
    bindings.32.channel 32;
    bindings.33.slave b;
    bindings.33.channel 33;
    bindings.34.slave b;
    bindings.34.channel 34;
    bindings.35.slave b;
    bindings.35.channel 35;
    bindings.36.slave b;
    bindings.36.channel 36;
    bindings.37.slave b;
    bindings.37.channel 37;
    bindings.38.slave b;
    bindings.38.channel 38;
    bindings.39.slave b;
    bindings.39.channel 39;
    bindings.40.slave b;
    bindings.40.channel 40;
    bindings.41.slave b;
    bindings.41.channel 41;
    bindings.42.slave b;
    bindings.42.channel 42;
    bindings.43.slave b;
    bindings.43.channel 43;
    bindings.44.slave b;
    bindings.44.channel 44;
}
ctl.merge {
    type hw
    card DSP_1
}

But it's not working, I've also been playing with trying to adapt this bit from the first link

pcm_slave.rme9652_s {
    pcm rme9652_0
}
pcm.rme9652_1 {
    type hw
    card 1
}
ctl.rme9652_1 {
    type hw
    card 1
}
pcm.rme9652_0 {
    type hw
    card 0
}
ctl.rme9652_0 {
    type hw
    card 0
}
ctl.rme9652_48 {
    type hw
    card 0
}
pcm.rme9652_48

But I've got myself a bit lost and stuck, can anyone help or share a working config that I can at least crib from so I can get this working please?

/Oh in case it's of use this is the setup I'm working to, I'm using card names as the numbers do indeed tend to move about

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: DSP [Hammerfall DSP], device 0: RME Hammerfall DSP + Digiface [RME Hammerfall DSP + Digiface]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 4: DSP_1 [Hammerfall DSP], device 0: RME Hammerfall DSP + Multiface [RME Hammerfall DSP + Multiface]
  Subdevices: 0/1
  Subdevice #0: subdevice #0