You are not logged in.
Hello community,
When I boot my laptop, if the HDMI cable of my external monitor is already plugged in, the audio from the laptop speakers doesn't work. My external monitor has no speakers. If I boot my laptop without the HDMI cable, the audio works and continues to work even if I plug the HDMI cable in later.
I have alsa and pulseaudio. I've already checked that Master and Speakers channels are not muted. In pulseaudio the volume bar moves when I play something from youtube.
This is the result of aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC295 Analog [ALC295 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 11: HDMI 5 [HDMI 5]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 12: HDMI 6 [HDMI 6]
Subdevices: 1/1
Subdevice #0: subdevice #0lspci | grep Audio
00:1f.3 Audio device: Intel Corporation Ice Lake-LP Smart Sound Technology Audio Controller (rev 30)cat /proc/asound/card0/codec* | grep Codec
Codec: Realtek ALC295
Codec: Intel Icelake HDMIThank you in advance for your help!
Last edited by ema261989 (2021-09-14 12:20:34)
Offline
Likely because a port switch happens based on the availability of the HDMI device. Either comment/remove load-module switch-on-port-available from your /etc/pulse/default.pa or configure your analog profile to be sticky: https://www.freedesktop.org/wiki/Softwa … ettosticky
Should that not suffice post
pacmd list-cards
pacmd list-sinksduring this not working situation.
Offline
Thank you very much, it seems to be working now!
Offline