On Fri, Jun 10, 2011 at 10:49 PM,  <[email protected]> wrote:
> it seems that snd-hda-intel no longer supports vid= and pid=, since
> there messages "unknown parameter" in the bootlog.
> Also I dont find any product ids when grepping in /sys/.
> or with lspci -vv.
> I am using Advanced Linux Sound Architecture Driver Version 1.0.24.
> on a vanilla linux 2.6.39.1 kernel...

Hmm, it's strange because I'm using the same kernel exactly, but don't
have any error. I think you're correct that vid/pid options don't
exist for hda-intel. Maybe it's only a coincidence that it ever worked
for me in the correct order. Keeping USB from becoming first was the
biggest problem for me. Anyway, to get the  VID/PID you could use
lspci with the "-nn" option to show both name and numeric form. But
that does not matter now. :)

I think the correct option for HDA module (instead of vid/pid) is "id"
which is a text identifier. To get the ID of your card, you can do
like follows, and hope they are different... I don't know what you can
do if they are both the same.

$ cat /proc/asound/card0/id
Intel
$ cat /proc/asound/card1/id
NVidia

So in my case, one card is called "Intel" and other is "NVidia". I
think I will change my modprobe options to be like this instead:

options snd-intel-hda model=intel-x58,auto enable_msi=1,0 index=0,1
id=Intel,NVidia
options snd-usb-audio index=2

(I did not try it yet)

Hopefully that method can work for you, too.

Otherwise, udev rules /should/ be the last way to determine the order,
but I have not done that.

Reply via email to