set order of alsa devices

Again this is primarly a note to myself.
I have a onboard PCI and an USB soundcard. This is how I set the order of the devices:

sonium@raumstation:~$ cat /etc/modprobe.d/alsa-base
alias snd-card-0 snd-usb-audio
alias snd-card-1 snd-intel8x0
options snd cards_limit=2
options snd-usb-audio index=0 vid=0x0763 pid=0x200f
# change v(endro)id und p(roduct)id according to the output of lsusb
options snd-intel8x0 index=1
# --snip--

sonium@raumstation:~$ cat /etc/modules

Now hw(0,0) points to the usb card and hw(1,0) to the PCI card.


Popular posts from this blog

Realtime bokeh plotting with asyncio

Dry-Ice Canon fun

cacti and friends