I tried hard to figure out what's going on with my alsamixer but it seems I'm missing something.
I'm using Debian Jessie with xfce, and my sound card has sundainly stoped working (playing). The sound card is detected, the matter is that I have several sound cards : a pci intel sound card (the right sound card) and a HDMI integrate sound card. My system has sudainly began detected the HDMI card as the default, because it is the first index. I tried several way to reset the default card (graphically, alsactl init, /etc/modeprob.d/sound file,...) but it still doe not work whether I connect as root or normal user. I read and follow alsa wiki, I don't understand why alsa can't detect and set the good sound card automatically in Debian. I never have this issue with Ubuntu.
My system parameter :
█▓▒░nixmind@mountain-view░▒▓██▓▒░ Sat Dec 12 08:21:37 /home/nixmind> sudo -s [sudo] password for nixmind: mountain-view# aplay -l **** List of PLAYBACK Hardware Devices **** card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: PCH [HDA Intel PCH], device 0: ALC3263 Analog [ALC3263 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0
My audio device is detected
mountain-view# lspci -v 00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 09) Subsystem: Dell Device 0665 Flags: bus master, fast devsel, latency 0, IRQ 66 Memory at f741c000 (64-bit, non-prefetchable) [size=16K] Capabilities:  Power Management version 2 Capabilities:  MSI: Enable+ Count=1/1 Maskable- 64bit- Capabilities:  Express Root Complex Integrated Endpoint, MSI 00 Kernel driver in use: snd_hda_intel mountain-view#
My audio cards drivers :
mountain-view# lsmod| grep snd snd_hda_codec_hdmi 45118 1 snd_hda_codec_realtek 67127 1 snd_hda_codec_generic 63181 1 snd_hda_codec_realtek snd_hda_intel 26327 4 snd_hda_controller 26646 1 snd_hda_intel snd_hda_codec 104463 5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller snd_hwdep 13148 1 snd_hda_codec snd_pcm 88662 4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller snd_timer 26614 1 snd_pcm snd_soc_sst_acpi 12559 0 snd 65244 16 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel soundcore 13026 2 snd,snd_hda_codec
The /etc/modprobe.d/sound.conf file I created :
options snd_hda_intel index=0 options snd_hda_codec_hdmi index=1
the aslsctl init command workw hardware sound cards in the right order :
mountain-view# alsactl init Found hardware: "HDA-Intel" "Intel Broadwell HDMI" "HDA:80862808,80860101,00100000" "0x1028" "0x0665" Hardware is initialized using a generic method mountain-view#
But after a reboot I still have the same problem. Do someone has already had this kind of issue? What is the good solution? Should I install another sound card manage software?