<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello Donald<br>
    <br>
    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 <br>
    <pre wrap=""><big>~/.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</big>
<big>
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 </big>"<big>options snd cards_limit=</big>"<big> must be defined otherwise the whole thing does not work!!</big>
<big>


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 only </big><big>necessary when 2 different sound devices use the same sound driver</big>
<big>
$ hwinfo --sound                        to find the vids and pids

</big><big>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 &gt;&gt; 625,6 KiB

libx86emu-1.1-10.1.sl.fc15.src.rpm &gt;&gt; 57,0 KiB



Best regards, Simon
</big></pre>
    <big><br>
    </big>Am 05.12.2011 13:06, schrieb Donald Steven:
    <blockquote cite="mid:4EDCB3D7.20906@rider.edu" type="cite">
      <pre wrap="">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
<a class="moz-txt-link-abbreviated" href="mailto:PlanetCCRMA@ccrma.stanford.edu">PlanetCCRMA@ccrma.stanford.edu</a>
<a class="moz-txt-link-freetext" href="http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma">http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma</a>

</pre>
    </blockquote>
    <br>
  </body>
</html>