Mute LED on HP OMEN 15 needs a fixup in hda_intel

Влад Макаров vladmak04 at gmail.com
Sun Oct 24 22:54:14 CEST 2021


Greetings everyone
I am not sure if this is the right place to ask, but I don't know where
else to look for help. I have a laptop (HP Omen 15 2020 amd)  which has a
mute button (Fn + F5) which works great, however, the LED indicator on it
doesn't light up. With the help of this article
<https://asus-linux.org/blog/sound-2021-01-11/> I managed to figure out
that I can trigger the LED with the following command:

sudo hda-verb /dev/snd/hwC1D0 0x20 0x500 0x0B && sudo hda-verb
/dev/snd/hwC1D0 0x20 0x400 0x7778
And disable it with
sudo hda-verb /dev/snd/hwC1D0 0x20 0x500 0x0B && sudo hda-verb
/dev/snd/hwC1D0 0x20 0x400 0x777
I think that a fix should be added to patch_realtek.c
<https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/sound/pci/hda/patch_realtek.c>
 (to change those values when mute button is pressed) but this
requires knowledge of C and kernel stuff.
I don't have much experience with those so I would be very grateful if
anyone could help me.
I have also filed a kernel bug report
<https://bugzilla.kernel.org/show_bug.cgi?id=214735> (with some useful
attachments) but nobody responded there.

Thanks in advance


More information about the Alsa-devel mailing list