[PlanetCCRMA] Multiple Sound Cards
Donald Steven
t6sn7gt at aim.com
Tue Dec 6 03:16:06 PST 2011
Simon,
Thank you so much! To complete the file below, I just added the first
line and tweaked the names.
All, here's a working file that is current with alsa in 2011 (no need to
touch ~/.asoundrc, local.conf or anything else. Just modify
/etc/modprobe.d/sound.conf (or 50-sound.conf if you're using a different
distro). RME users, get rid of pulseaudio.
# RME Hammerfall DSP
# MCP55 High Definition Audio
# R700 Audio Device [Radeon HD 4000 Series]
options snd slots=snd-hdsp,snd-hda-intel,snd-hda-intel
alias snd-card-0 snd-hdsp
alias sound-slot-0 snd-card-0
alias snd-card-1 snd-hda-intel
alias sound-slot-1 snd-card-1
alias snd-card-2 snd-hda-intel
alias sound-slot-2 snd-card-2
options snd cards_limit=3
options snd-hdsp index=0
options snd-hda-intel index=1 model=auto
options snd-hda-intel index=2
# EOF
========
Don
On 12/06/2011 01:34 AM, Simon Lewis wrote:
> Hi Donald
>
> To make snd-hdsp >>> HW:0 simply change the snd device order:
>
> # RME card
> # motherboard
> # graphics card
> alias snd-card-0 snd-hdsp
> alias sound-slot-0 snd-card-0
> alias snd-card-1 snd-intel
> alias sound-slot-1 snd-card-1
> alias snd-card-2 snd-hda
> alias sound-slot-2 snd-card-2
> options snd cards_limit=3
> options snd-hdsp index=0
> options snd-hda-intel index=1 model=auto
> options snd-hda index=2
>
> # EOF
>
>
> Am 05.12.2011 22:18, schrieb Donald Steven:
>> Hi Simon,
>>
>> How does this make the RME -- shown as card 2, index 2 (hdsp) -- the
>> default for flash, pandora, tunein, etc.? (They're presumably
>> looking at index 0.)
>>
>> Don
>>
>> On 12/5/2011 3:51 PM, Simon Lewis wrote:
>>> Hello Donald
>>>
>>> Try the following in
>>> /etc/modprobe.d/sound.conf (make the file if it doesn't exist)
>>>
>>> # RME card
>>> # motherboard
>>> # graphics card
>>> alias snd-card-0 snd-hda
>>> alias sound-slot-0 snd-card-0
>>> alias snd-card-1 snd-intel
>>> alias sound-slot-1 snd-card-1
>>> alias snd-card-2 snd-hdsp
>>> alias sound-slot-2 snd-card-2
>>> options snd cards_limit=3
>>> options snd-hda index=0
>>> options snd-hda-intel index=1 model=auto
>>> options snd-hdsp index=2
>>>
>>> # EOF
>>>
>>>
>>> Undo any changes you made to the blacklisted items and only use
>>> asoundrcif you need to make a channel matrix.
>>>
>>> Finally, if using KDE4, the priority of the sound cards will need to
>>> redefined in phonon settings dialogue
>>>
>>> Good luck, Simon
>>>
>>>
>>> Am 05.12.2011 21:28, schrieb Simon Lewis:
>>>> 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
>>>
>>>
>>>
>>> _______________________________________________
>>> PlanetCCRMA mailing list
>>> PlanetCCRMA at ccrma.stanford.edu
>>> http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma
>>
>
More information about the PlanetCCRMA
mailing list