[Ardour-Users] trouble with retaining microphone connectivity over multiple sessions in Ardou

Ralf Mardorf ralf.mardorf at alice-dsl.net
Sun Jun 14 19:31:02 PDT 2015


Hi,

I would turn off on-board sound by the BIOS settings and then ensure
that the sound card/s always get/s the same card number/s at startup.

This is how my /etc/modprobe.d/alsa-base.conf looks like:

  # ALSA module ordering
  options snd slots=snd_hdspm,snd_ice1712,snd_ice1712

Information can be found at
http://alsa.opensrc.org/MultipleCards#The_newer_.22slots.3D.22_method :

"How to choose a particular order for multiple installed cards

Which card is card number 0, 1 and so is by default determined by
module load order. This is particularly useful to choose which card
becomes the default one.

In theory therefore it is possible to choose which of several installed
cards becomes card 0, the default one, by ensuring its driver module is
loaded first. (Note: this assumes that each sound card requires a
different driver. If you have two soundcards of the same type, please
skip to the next section.)

There are two ways to achieve this, the "old" index= option of the card
driver module, and the alternative (and new) slots= option of the snd
module.

[snip]

The newer "slots=" method

Alternatively, you can use the slot option instead of the index options:

options snd slots=snd-interwave,snd-ens1371

Then, the first slot (#0) is reserved for snd-interwave driver, and the
second (#1) for snd-ens1371. You can omit index option in each driver
if slots option is used (although you can still have them at the same
time as long as they don't conflict).

According to ALSA-Configuration.txt, The slots option is especially
useful for avoiding the possible hot-plugging and the resultant slot
conflict. For example, in the case above again, the first two slots are
already reserved. If any other driver (e.g. snd-usb-audio) is loaded
before snd-interwave or snd-ens1371, it will be assigned to the third
or later slot."

Regards,
Ralf


More information about the Ardour-Users mailing list