type to search

How to enforce a consistent numbering of sound cards?

Asked by [ Editor ]

I have a system with more than one sound card. Depending on which driver gets loaded first the sound cards are enumerated differently. Basically this is the same problem as with network interfaces revisited with sound cards. So is there some reliable way to force a specific enumeration?

or Cancel

1 answer



The easiest way is to add an index option to the module parameters for each of your sound devices. I have a /etc/modprobe.d/local.conf file with the following lines:

# Sound card order
# Onboard ICH chip
options snd-intel8x0 index=0
# Aureon with optical out
options snd-cmipci index=1
# Logitech Quickcam
options snd-usb-audio index=2
# Motherboard MPU
options snd-mpu401 index=3
# HVR-1100
options cx88-alsa index=4
# Radeon HD 4650 HDMI output
options snd-hda-intel index=5

or Cancel

Your answer

You need to join Debian to complete this action, click here to do so.