change card order

  • on a fresh archlinux install on a thinkpad the sound cards were in the 'wrong' order.
  • in alsamixer the first card was hdmi, the second was pch
  • to change the order add the following to '/etc/modprobe.d/50-alsa.conf' and reboot

    options snd_hda_intel enable=1 index=0
    options snd_hda_intel index=1
  • source: https://bbs.archlinux.org/viewtopic.php?pid=1453619#p1453619