Bug 219303 - Mute LED light is not working on my HP laptop
Summary: Mute LED light is not working on my HP laptop
Status: NEW
Alias: None
Product: Linux
Classification: Unclassified
Component: Kernel (show other bugs)
Hardware: All Linux
: P3 normal
Assignee: Virtual assignee for kernel bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-23 21:51 UTC by gfrank227
Modified: 2024-10-02 15:14 UTC (History)
2 users (show)

See Also:
Kernel Version: 6.10.10
Subsystem: SOUND
Regression: No
Bisected commit-id:
mricon: bugbot+


Attachments
Alsa info with light off (43.43 KB, text/plain)
2024-09-23 21:52 UTC, gfrank227
Details
alsa info with light on (43.43 KB, text/plain)
2024-09-23 21:53 UTC, gfrank227
Details
Fix patch (818 bytes, patch)
2024-09-27 02:08 UTC, abhishek
Details | Diff

Description gfrank227 2024-09-23 21:51:07 UTC
I have a laptop, HP Pavilion Gaming Laptop 15z-ec0. the laptop has a mute LED light on the F6 key. It is supposed to light up when the sound is muted.  However, this does not light up when muted. I have tried various models under snd_hda_intel but nothing has worked.

The sound card info is:

/proc/asound/card0/codec#0:Codec: Nvidia GPU 94 HDMI/DP
/proc/asound/card1/codec#0:Codec: Realtek ALC285

The research I've done indicates that:

 sudo hda-verb /dev/snd/hwC1D0 0x20 0x500 0x0B && sudo hda-verb /dev/snd/hwC1D0 0x20 0x400 0x7778

enables this LED and

sudo hda-verb /dev/snd/hwC1D0 0x20 0x500 0x0B && sudo hda-verb /dev/snd/hwC1D0 0x20 0x400 0x7774

disables the LED.

This bug is similar to this bug: https://bugzilla.kernel.org/show_bug.cgi?id=214735

I believe there may be a patch already for other HP models, but something needs to be put into the kernel to tell them to trigger this patch.

I would greatly appreciate it if you would be able to apply the patch to my model so that my LED light would work properly. Thanks!
Comment 1 gfrank227 2024-09-23 21:52:31 UTC
Created attachment 306914 [details]
Alsa info with light off
Comment 2 gfrank227 2024-09-23 21:53:31 UTC
Created attachment 306915 [details]
alsa info with light on
Comment 3 abhishek 2024-09-27 02:08:19 UTC
Created attachment 306923 [details]
Fix patch

Hi,
Is it possible for you to apply this patch at your end and once check?
Comment 4 gfrank227 2024-09-27 13:11:03 UTC
Attempting to build. Stay tuned.
Comment 5 gfrank227 2024-09-27 19:18:52 UTC
OK, good news. With the patch it now works properly without my hacky solution. Good work. Thanks!
Comment 6 abhishek 2024-09-29 17:06:04 UTC
It's Great to hear. 
I send the patch upstream too.
Comment 7 gfrank227 2024-09-30 12:03:06 UTC
thanks. Do you think it'll make it into 6.12?
Comment 8 abhishek 2024-10-02 15:14:53 UTC
Hi,
The patch has been included in the 6.12-rc1.

link : https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git/commit/?id=d75dba49744478c32f6ce1c16b5f391c2d5cef5f

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