[linux-audio-user] alsa soundcard numbering

nigel henry cave.dnb at tiscali.fr
Wed Sep 14 06:40:53 EDT 2005


On Wednesday 14 Sep 2005 9:32 am, Orm Finnendahl wrote:
> Hi,
>
> having my RME hdsp pcmcia card inserted in my laptop on startup
> results in assigning it card number 0 and assigning the built-in
> soundcard card number 1. I'd prefer it the other way round, so that
> the internal card *always* gets number 0, no matter whether the pcmcia
> card is present or not. It used to work that way with a 2.4 setup and
> alsa 1.0.4.
>
> My current setup uses debian sarge and a custom 2.6.13.1 kernel.
>
> This is in my modules.conf:
>
> alias snd-card-0 snd-intel8x0
> alias snd-card-1 snd-virmidi
> alias snd-card-2 snd-hdsp
>
> I also cannot rmmod the snd-intel8x0 once the computer has booted
> despite the fact, that no program is claiming it. With the old setup I
> remember that stopping alsa (in /etc/init.d) resulted in a removal of
> all snd_* modules.
>
> --
> Orm

Hi Orm. If you add options lines in /etc/modutils/sound as follows, you should 
find that the cards load in the order you want.

options snd-intel8x0 index=0
options snd-hdsp index=1
options snd-virmidi index=2

Then run update-modules and /etc/modules.conf will be updated with the options 
added to it

I had a similar problem with my usb midi keyboard being loaded first , and 
setting the options fixed that. All the best. Nigel.




More information about the Linux-audio-user mailing list