ALSA Sound Card Order

By | 5 Feb 2010

The default soundcard to be used with ALSA is that with the index 0 in /proc/asound/cards. Usually this is the first found sound device.

If you want to change this order, you have to find out the name of the kernel module used for that card and then add the desired index to it in a modprobe file. I appended these lines to my /etc/modprobe.d/alsa-base.conf:

options snd-hda-intel index=-2
options snd-usb-audio index=0

This way, the internal sound card (which was the primary one) now gets some other index and the USB mini speakers get the index 0 and therefore become the new default device for any sounds.

Leave a Reply

Your email address will not be published. Required fields are marked *

Your post must include a link to this post.

How does this work?
Write a response on your own website and include a link to this post. Then submit your response’s URL here. Your response may appear here after moderation. To update or remove it, edit or delete your original post and submit the same URL again. Learn more about Webmentions.