Index

Subject : Re: LUG: Changing the default alsa sound card?

From : Brian Pike <bapike@gmail.[redacted]>

Date : Mon, 22 Aug 2005 10:12:32 -0400

Parent


It looks like the mapping of sound cards to "hw:0", "hw:1", etc., is
generally controlled by module load order. However, it looks like you
can pass "index=n" as an option to ALSA modules in order to force them
to be known as "hw:n". It also looks like if you have more than one
emu10k1-driven device, for instance, you can do index=a,b,c,... to get
"hw:a", hw:b", "hw:c", ... (where a, b, c are integers).

I haven't been able to verify this, but I'm guessing that the default
device is usually "hw:0". So it should work to have a line like this
in your /etc/modules.conf:
options snd-card-ice1712 index=0
options snd-card-emu10k1 index=1
to set the ice1712-driven device to be the default and to also
configure the emu10k1-driven device.

I found this at:
http://alsa.opensrc.org/MultipleCards

Let us know if this works.

-Brian

On 8/22/05, Ed Anderson <nilbus@nilbus.[redacted]> wrote:
> > So Linux seems to be defaulting to my onboard sound.
>
> On this note, does anyone know how to change the default sound card in
> alsa? A friend is having some trouble with this, and I couldn't a
> simple answer for him.
>
> Ed Anderson
>