Static hardware number in Alsa

I use a USB audio interface, and the Alsa hardware number often varies when I boot it up. I then have to SSH into the device, find out the hardware number with aplay -l and edit the Zynthian conf. Is there a method to assign a static hardware ID to my interface?

card 5: K1 [Komplete Audio 1], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0

Hi @walt,
Numbering may change depending if midi hw devices that are plugged in or not.
In webconf, under audio settings, advanced, change the jackd parameters from
hw:0
to
hw:K1

1 Like

Once you head off the beaten track with devices it’s a good idea to setup a custom config using the name.

If you are feeling really ambitious submit it as a Pull request to github and watch it magically appear in the drop down list ! :slight_smile:

That would count as a :face_with_monocle:

Thanks, that did the trick!