Raising ALSA cards_limit

Sorry to resurrect this old thread. Using the current release (2020-11-23) with the stock kernel results in the 7 USB audio/midi device limit.

When running the realtime kernel, I’m running into the issue of no USB devices showing up, as described here (I am using a Raspberry Pi 4, 4GB).

It seems like I have two options, neither of which are particularly appealing:

  1. recompile a kernel with the appropriate config to increase the USB audio device limit
  2. include a boot option that tricks the Pi into thinking it has 3GB of RAM

If somebody has found another way to solve this problem, I’m all ears.