You are not logged in.
I use a laptop with slim/xmonad and frequently plug it into my TV and found this to automate the process off setting sound and picture when i plug it in.
Tested it out and seemed to work fine, and now 2 days later, I get no sound from HDMI. PC speaker and headphones work fine and with other PC sound works over HDMI.
I checked and it does change asound.conf when I insert HDMI cable. I don't use a .asoundrc.conf for this user.
/etc/asound.conf
...
pcm "hw:0,3"
...
But I still get no sound from system or with:
speaker-test -c 2 -D plughw:0,3
I have checked alsamixer if any channels are muted and also manually restarted alsa with:
systemctl restart alsa-restore
Some info:
lspci | grep -i audio
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC270 Analog [ALC270 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
sysdefault:CARD=Intel
HDA Intel, ALC270 Analog
Default Audio Device
front:CARD=Intel,DEV=0
HDA Intel, ALC270 Analog
Front speakers
surround40:CARD=Intel,DEV=0
HDA Intel, ALC270 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
HDA Intel, ALC270 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
HDA Intel, ALC270 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
HDA Intel, ALC270 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
HDA Intel, ALC270 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=Intel,DEV=0
HDA Intel, HDMI 0
HDMI Audio Output
lsmod | grep snd
snd_hda_codec_hdmi 24487 1
snd_hda_codec_realtek 61193 1
snd_hda_intel 26180 2
snd_hda_codec 98033 3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep 6300 1 snd_hda_codec
snd_pcm 75167 4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc 7217 2 snd_pcm,snd_hda_intel
snd_timer 18934 2 snd_pcm
snd 59989 9 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec,snd_hda_intel
soundcore 5442 1 snd
I'm not to familiar with how things should look but shouldn't HDA Intel, ALC270 Analog be along in:
aplay -L
...
hdmi:CARD=Intel,DEV=0
HDA Intel, HDMI 0
HDMI Audio Output
...
Also a curious message in dmesg, I'm not using anything from MSI asfar as I know.
dmesg | grep snd
[ 4.922456] snd_hda_intel 0000:00:1b.0: irq 45 for MSI/MSI-X
Offline