On Tue, 1 Jan 2013 10:24:18 -0800, Len Ovens wrote:
On Mon, December 31, 2012 7:07 pm, John Murphy wrote:
The "unwanted card" is hdmi sound on my
graphics card and I don't
know if I can disable it. That may be a workaround if I can...
I wanted my d66 to be hd:0.
I have three cards:
internal ac97
PCI ensoniq (used only for the midi port)
D66
Normally I can disable the ac97 card in bios, but right now I have been
testing things with it. In any case normally I have the two cards. They
both use different drivers, so it is easy to determine which is hw:0.
I went to /etc/modprobe.d/alsa-base.conf and found a lot of lines like:
options snd-usb-ua101 index=-2
The -2 means load this module after all the others are done. So I added a
line:
options snd-ens1370 index=-2
now my ice1712 always ends up as hw:0
This trick does not work if two cards use the same driver. So try an lsmod
and look for *snd* modules that have non rme things in them. Once you find
the base driver for the hdmi, you can either load it last (as above) or
black list so it never loads at all.
Great stuff again Len. Thank you. I now have a file in /etc/modprobe.d/
called blacklist-hdmi_sound.conf which contains:
blacklist snd_hda_intel
blacklist snd_hda_codec
Now aplay -l just lists the two RMEs, which is just what I wanted.
I've also had more success modifying the JRigg .asoundrc, to the
extent that qjackctl now shows all 52 channels as r/w clients in
the connections widget.
I won't be needing quite so many output channels, so I'll probably
use the separate in/out configuration as demonstrated in the JRigg
article. It's currently an all duplex config.
--
John.