The order of my cards changes whenever I reboot or as devices are plugged and unplugged. How can I create PCMs that refer to cards by name instead of number?
On the LAU Clemens Ladisch wrote: Make sure that all drivers have the “index” option in /etc/modprobe.conf (or whatever your distribution uses), e.g.: options snd-intel8x0 index=0 options snd-emu10k1 index=1 options snd-usb-audio index=2,3 Christoph Burger-Scheidlin added: You can refer to the cards by the name that is displayed in the /proc/asound/cards file. My /proc/asound/cards file is… 0 [I82801DBICH4 ]: ICH4 – Intel 82801DB-ICH4 Intel 82801DB-ICH4 with AD1981B at 0x24000800, irq 11 1 [Modem ]: ICH-MODEM – Intel 82801DB-ICH4 Modem Intel 82801DB-ICH4 Modem at 0x1400, irq 11 and the respective entries in my /etc/asound.conf are: # CARD DEFINITIONS pcm.intel { type hw; card I82801DBICH4 } ctl.intel { type hw; card I82801DBICH4 } pcm.intelModem { type hw; card Modem } ctl.