[LAU] Alsa setup question

Ralf Mardorf ralf.mardorf at alice-dsl.net
Sat May 2 12:37:48 UTC 2015


On Sat, 2 May 2015 14:20:04 +0200, hollundertee at gmx.net wrote:
>It would be sufficient if the default interface was properly set on
>boot or resume. It would probably not hurt if it was set whenever a usb
>audio device gets plugged in. I'm not quite sure which mechanism allows
>me to do that. ALSA alone? Udev?  

Default by default is hw:0 and you can ensure that hw:0 is always
reserved for the same device.

  $ cat /etc/modprobe.d/alsa-base.conf
  # ALSA module ordering
  options snd slots=snd_hdspm,snd_ice1712,snd_ice1712

You could add snd_usb_audio as first device, so hw:0 would be reserved
for an USB device, even if it's not connected. For me hw:0 is reserved
for a RME card and hw:1 and hw:2 are reserved for Envy24 cards, even if
I e.g. remove the Envy24 driver, an additional connected device, e.g. an
USB device, becomes hw:3 and not hw:1.

Regards,
Ralf


More information about the Linux-audio-user mailing list