Bug 201653 - Mute LED on HP Pavilion 15-bc doesn't work [103c:820d]
Summary: Mute LED on HP Pavilion 15-bc doesn't work [103c:820d]
Status: RESOLVED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: Sound(ALSA) (show other bugs)
Hardware: x86-64 Linux
: P1 low
Assignee: Jaroslav Kysela
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-10 19:55 UTC by Léo Bunel
Modified: 2018-11-28 20:11 UTC (History)
1 user (show)

See Also:
Kernel Version: 4.18
Subsystem:
Regression: No
Bisected commit-id:


Attachments
Output of 'alsa-info.sh' (40.64 KB, text/plain)
2018-11-10 19:55 UTC, Léo Bunel
Details

Description Léo Bunel 2018-11-10 19:55:37 UTC
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.
Comment 1 Takashi Iwai 2018-11-11 09:04:43 UTC
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.
Comment 2 Léo Bunel 2018-11-11 21:16:24 UTC
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?
Comment 3 Takashi Iwai 2018-11-12 10:12:54 UTC
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.
Comment 4 Léo Bunel 2018-11-28 20:11:16 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.