From: Paul Hartman <paul.hartman+gentoo@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Sorting soundcards...
Date: Sun, 12 Jun 2011 19:13:05 -0500 [thread overview]
Message-ID: <BANLkTinj6=tF7U=JtzgOuH6n434wjYGbrQ@mail.gmail.com> (raw)
In-Reply-To: <20110611034930.GA2978@solfire>
On Fri, Jun 10, 2011 at 10:49 PM, <meino.cramer@gmx.de> 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.
next prev parent reply other threads:[~2011-06-13 0:14 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-10 22:39 [gentoo-user] Sorting soundcards meino.cramer
2011-06-10 22:58 ` Paul Hartman
2011-06-10 23:25 ` meino.cramer
2011-06-11 3:03 ` Paul Hartman
2011-06-11 3:49 ` meino.cramer
2011-06-13 0:13 ` Paul Hartman [this message]
2011-06-10 22:59 ` Mark Knecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='BANLkTinj6=tF7U=JtzgOuH6n434wjYGbrQ@mail.gmail.com' \
--to=paul.hartman+gentoo@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox