1 |
Paul Hartman <paul.hartman+gentoo@×××××.com> [11-06-11 01:08]: |
2 |
> On Fri, Jun 10, 2011 at 5:39 PM, <meino.cramer@×××.de> wrote: |
3 |
> > How can I urge the "soundcards" into a specific order? |
4 |
> > How can I more specific than specifying "snd-hda-intel" since |
5 |
> > this appears twice...? |
6 |
> |
7 |
> Oh, I love when someone asks a question that I already had to solve |
8 |
> for myself. :) |
9 |
> |
10 |
> I also have 2 intel-hda devices and 1 usb-audio. If you read the ALSA |
11 |
> documentation in the kernel, you'll find that the "index" option is |
12 |
> how you determine the card order. But, like you realized, when you |
13 |
> have more than one of the same type, how do you do that? |
14 |
> |
15 |
> The answer is that you can define multiple devices in one entry, |
16 |
> separated by comma. You can also specify vendor ID/product ID so it |
17 |
> knows which piece of hardware you are talking about. |
18 |
> |
19 |
> options snd-intel-hda model=intel-x58,auto enable_msi=1,0 index=0,1 |
20 |
> vid=0x8086,0x10de pid=0x3a3e,0x0be4 |
21 |
> options snd-usb-audio index=2 |
22 |
> |
23 |
> To explain the first line: |
24 |
> |
25 |
> options snd-intel-hda |
26 |
> - This part is obvious. |
27 |
> |
28 |
> model=intel-x58,auto |
29 |
> - For the first card, I specify the model is intel-x58. That way it |
30 |
> shows me the proper inputs and outputs. For the second card (my Nvidia |
31 |
> HDMI) I set it to auto-detect. |
32 |
> |
33 |
> enable_msi=1,0 |
34 |
> - I want to enable MSI for my on-board sound, but disable it for my |
35 |
> Nvidia HDMI sound. |
36 |
> |
37 |
> index=0,1 |
38 |
> - My first card is index 0, second is index 1. That way my on-board is |
39 |
> always first. |
40 |
> |
41 |
> vid=0x8086,0x10de |
42 |
> pid=0x3a3e,0x0be4 |
43 |
> - Now this is the magical part :) By using vendor and product ID, it |
44 |
> knows which exact hardware I'm talking about in the previous options. |
45 |
> |
46 |
> For your case, maybe you don't care about setting the model or the |
47 |
> MSI, you can leave that out. But the real important part to solve your |
48 |
> problem is to set the index and the vid/pid. |
49 |
> |
50 |
> > Thank you very much in advance for any help! :) |
51 |
> |
52 |
> I hope I helped! |
53 |
> |
54 |
|
55 |
Hi Paul, |
56 |
|
57 |
thank you for your quick response! :)) |
58 |
|
59 |
short question before starting a new adventure :) |
60 |
|
61 |
Did specify this in /etc/modprobe.d/alsa.conf or in |
62 |
/etc/conf.d/modules (I am asking due to the "option" keyword...) |
63 |
|
64 |
Do you use udev? |
65 |
|
66 |
...will start the new audio adventure next morning ... its |
67 |
to late to keep my eyes open... |
68 |
|
69 |
Best regards, |
70 |
mcc |