[PlanetCCRMA] Multiple Sound Cards

Simon Lewis simon.lewis at slnet-online.de
Mon Dec 5 12:28:05 PST 2011

Hello Donald

The information on plant ccrma as well as the other tips you have 
received are a little out of date... It is not necessary to black list 
any devices, neither should you make make an

~/.asoundrc this will only cause a lot of headaches to get this right and alsa does it better automatically.

The trick on fc15 and fc16 is to make a relatively simple file called "sound.conf" (on unbuntu "50-sound.conf") and put this in the directory /etc/modprobe.d

The contents of this folder will look something like:

# On-board audio vid=0x8086 pid=0x284b
# Logitech, Inc. Webcam C270 vid=0x046d pid=0x0825
# Behringer U-Control UCA222 vid=0x08bb pid=0x2902
# Edirol UM-1SX MIDI Adapter vid=0x0582 pid=0x0009
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-card-0
alias snd-card-1 snd-usb-audio
alias sound-slot-1 snd-card-1
alias snd-card-2 snd-usb-audio
alias sound-slot-2 snd-card-2
alias snd-card-3 snd-usb-audio
alias sound-slot-3 snd-card-3
options snd cards_limit=4
options snd-hda-intel index=0 model=auto
options snd-usb-audio index=1,2,3 vid=0x046d,0x08bb,0x0582 pid=0x0825,0x2902,0x0009

In the above example, qjackctl always finds the semi-pro sound device under HW:2, regardless of whether the other devices are connected or not, or hot plugged later.

Note"options snd cards_limit="  must be defined otherwise the whole thing does not work!!

For your set-up you will need to perform the following to find the necessary details

$ cat /proc/asound/cards		to find all the audio devices on your pc.

$ cat /proc/asound/modules		to find which modules are loaded for each sound card

The following is optional and onlynecessary when 2 different sound devices use the same sound driver

$ hwinfo --sound			to find the vids and pids

The bad news is that hwinfo is not in any of the fedora repos - if you need it which I don't think you will, I can send the spec and/or src.rpms  as e-mail attachment so that you can build it yourself

hwinfo-18.3-1.2.2.sl.fc15.src.rpm>>  625,6 KiB

libx86emu-1.1-10.1.sl.fc15.src.rpm>>  57,0 KiB

Best regards, Simon

Am 05.12.2011 13:06, schrieb Donald Steven:
> I have three sound cards:
> 0: motherboard
> 1: graphics card
> 2: RME card.
> I want to use the RME card.
> #cat /proc/asound/cards always shows that the RME card is card 2,
> whether or not I blacklist the others.
> I can get audacity to work if I set the output to hw 2,0.  I can't
> figure out what to put in the various alsa-related files to get the alsa
> default to be card 2 (the RME).
> Any help you can provide would be most appreciated.
> Don
> _______________________________________________
> PlanetCCRMA mailing list
> PlanetCCRMA at ccrma.stanford.edu
> http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ccrma-mail.stanford.edu/pipermail/planetccrma/attachments/20111205/d58b40fe/attachment.html 

More information about the PlanetCCRMA mailing list