Created attachment 279409 [details] Output of 'alsa-info.sh' The mute key (F6) of my HP notebook works as expected, but the built-in LED never turns on. It should light up when the system volume is set to 0 with the hardware keys or the volume slider in GNOME. I have the Pavilion 15-bc017nf, but I guess it's the same for all the 15-bc models and maybe other HP line-ups.
If you're running 4.19 or later, try to pass model=hp-mute-led-mic1 to snd-hda-intel module. This will enable the mute LED via mic1 pin. Similarly, you can try hp-mute-led-mic2 and hp-mute-led-mic3. Or, hp-gpio-mic1, or hp-line1-mic. There are lots of model variants as found in Documentation/sound/hd-audio/models.rst. One of them might work for your device. Note that these option values have been added in 4.19, so 4.18 won't work in that way. You'd need to patch and rebuild the kernel.
Thanks! I upgraded to 4.19 and 'hp-mute-led-mic3' did the trick for me. Should I run 'alsa-info.sh' with the new configuration and upload the result?
Thanks, the previous alsa-info.sh is already enough. I submitted the fix patch to set the quirk statically and will merge it for 4.20-rc3. It'll be backported to stable kernels eventually later.
I saw that your patch got merged, so I installed 4.20-rc4 and removed the "model" option. I can confirm that it works as expected! Thanks again, I'll close this bug.