Hi there, I am using your wonderful Patchbox OS to do MIDI routing.
I have some mididings scripts, but mainly just using the included “Patchage” app is great for my needs.
As my studio is growing, I hit the default ALSA cards_limit of 8 (I think).
/var/log/syslog, this looks like this:
Nov 24 10:48:54 patchbox kernel: [96241.011034] usb 1-126.96.36.199.4: Product: Launch Control XL Nov 24 10:48:54 patchbox kernel: [96241.011039] usb 1-188.8.131.52.4: Manufacturer: Focusrite A.E. Ltd Nov 24 10:48:54 patchbox kernel: [96241.013601] snd-usb-audio 1-184.108.40.206.4:1.0: cannot find the slot for index -1 (range 0-7), error: -19 Nov 24 10:48:54 patchbox kernel: [96241.013624] usb 1-220.127.116.11.4: cannot create card instance 7
I see that my USB MIDI devices are all using snd-usb-audio. I could not find a cards_limit or similar driver options for that (
modinfo -p snd-usb-audio) so I guess I would have to configure ALSA itself.
cat /sys/module/snd/parameters/cards_limit is 1 - which I do not understand as 7 USB MIDI devices (2 of which are also audio devices) have been loaded successfully.
From https://alsa.opensrc.org/MultipleCards I tried to add a
options snd cards_limit=16
But that would not change anything (
/sys/module/snd/parameters/cards_limit is 16, though). I suspect it does not apply to snd-usb-audio devices?
Any pointers are appreciated!