Re: [LAU] Alsa setup question

From: Ralf Mardorf <ralf.mardorf@email-addr-hidden-dsl.net>
Date: Sat May 02 2015 - 15:37:48 EEST

On Sat, 2 May 2015 14:20:04 +0200, hollundertee@email-addr-hidden 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
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Sat May 2 16:15:02 2015

This archive was generated by hypermail 2.1.8 : Sat May 02 2015 - 16:15:02 EEST