Re: [LAD] alsa card order

From: Lennart Poettering <mzynq@email-addr-hidden>
Date: Wed Apr 29 2009 - 00:59:36 EEST

On Tue, 28.04.09 23:36, Fons Adriaensen (fons@email-addr-hidden) wrote:

> Hello all,
>
> I'm Running F10 and I have these lines in /etc/modprobe.conf:
>
> options snd cards_limit=4
> alias snd-card-0 snd_intel8x0
> alias snd-card-1 snd_mpu401
> alias snd-card-2 snd_ice1712
> options snd-card-0 index=0
> options snd-card-1 index=1
> options snd-card-2 index=2
>
> but the order of the devices is always the
> inverse: ice1712, mpu401, intel8x0

Since F10 ALSA card indexes are not stable anymore to allow flexible
hotplugging setups.

You don't need stable indexes. Simply use the card names instead. You
can find them in /proc/asound/cards. i.e. use "front:AudioPCI" instead
of "front:6" as device strings. That way you don''t need to configure
anything and always have stable device strings.

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net         ICQ# 11060553
http://0pointer.net/lennart/           GnuPG 0x1A015CC4
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Wed Apr 29 04:15:01 2009

This archive was generated by hypermail 2.1.8 : Wed Apr 29 2009 - 04:15:01 EEST