Skip to content

Instantly share code, notes, and snippets.

@martynjarvis
Created June 20, 2015 13:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save martynjarvis/579636cddb6c714b9154 to your computer and use it in GitHub Desktop.
Save martynjarvis/579636cddb6c714b9154 to your computer and use it in GitHub Desktop.
ALSA: Change the default soundcard from ATI card with HDMI sound to installed soundcard

Problem.

System has a creative sound card and an ATI gfx card which has a sound card for audio over HDMI. ATI HDMI is the default sound card.

Create the file /etc/modprobe.d/50-alsa.conf with contents[1]

options snd-hda-intel index=1,0

Reboot.

Order should now be correct:

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Creative [HDA Creative], device 0: CA0110-IBG Analog [CA0110-IBG Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: Creative [HDA Creative], device 1: CA0110-IBG Digital [CA0110-IBG Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: ID aa01 Digital [ID aa01 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

[1] https://bbs.archlinux.org/viewtopic.php?pid=1446773#p1446773

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment