On Fri, Jun 10, 2011 at 5:39 PM,  <meino.cra...@gmx.de> wrote:
> How can I urge the "soundcards" into a specific order?
> How can I more specific than specifying "snd-hda-intel" since
> this appears twice...?

Oh, I love when someone asks a question that I already had to solve
for myself. :)

I also have 2 intel-hda devices and 1 usb-audio. If you read the ALSA
documentation in the kernel, you'll find that the "index" option is
how you determine the card order. But, like you realized, when you
have more than one of the same type, how do you do that?

The answer is that you can define multiple devices in one entry,
separated by comma. You can also specify vendor ID/product ID so it
knows which piece of hardware you are talking about.

options snd-intel-hda model=intel-x58,auto enable_msi=1,0 index=0,1
vid=0x8086,0x10de pid=0x3a3e,0x0be4
options snd-usb-audio index=2

To explain the first line:

options snd-intel-hda
- This part is obvious.

model=intel-x58,auto
- For the first card, I specify the model is intel-x58. That way it
shows me the proper inputs and outputs. For the second card (my Nvidia
HDMI) I set it to auto-detect.

enable_msi=1,0
- I want to enable MSI for my on-board sound, but disable it for my
Nvidia HDMI sound.

index=0,1
- My first card is index 0, second is index 1. That way my on-board is
always first.

vid=0x8086,0x10de
pid=0x3a3e,0x0be4
- Now this is the magical part :) By using vendor and product ID, it
knows which exact hardware I'm talking about in the previous options.

For your case, maybe you don't care about setting the model or the
MSI, you can leave that out. But the real important part to solve your
problem is to set the index and the vid/pid.

> Thank you very much in advance for any help! :)

I hope I helped!

Reply via email to