* [PATCH] ALSA: hda/realtek: Enable mute LED on HP Laptop 15-dy0xxx
@ 2026-08-05 23:57 Carl Quist
2026-08-06 9:48 ` Takashi Iwai
0 siblings, 1 reply; 2+ messages in thread
From: Carl Quist @ 2026-08-05 23:57 UTC (permalink / raw)
To: alsa-devel; +Cc: tiwai
[-- Attachment #1: Type: text/plain, Size: 1795 bytes --]
The mute LED on the HP Laptop 15-dy0xxx (PCI SSID 103c:864f, Realtek
ALC236) does not work, because the machine has no entry in the quirk
table. No fixup is applied, so no mute LED classdev is registered and
nothing ever drives the LED.
The LED is controlled by COEF index 0x07, bit 0. This was verified on
the hardware with hda-verb: setting the bit lights the mute LED and
clearing it turns the LED off.
hda-verb /dev/snd/hwC0D0 0x20 SET_COEF_INDEX 0x07
hda-verb /dev/snd/hwC0D0 0x20 SET_PROC_COEF 0x1 # LED on
hda-verb /dev/snd/hwC0D0 0x20 SET_PROC_COEF 0x200 # LED off
That is exactly what ALC236_FIXUP_HP_MUTE_LED_COEFBIT2 configures, and
the closely related HP Laptop 15-dw0xxx (103c:85f0) already uses it.
Bit 9 (0x200) is set by default on this board and is preserved by the
fixup's read-modify-write.
Tested on an HP Laptop 15-dy0xxx (SKU 7FU54UA#ABA, board 864F,
BIOS F.40).
Signed-off-by: Carl Quist <equalizerjr@gmail.com>
---
sound/hda/codecs/realtek/alc269.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/hda/codecs/realtek/alc269.c
b/sound/hda/codecs/realtek/alc269.c
--- a/sound/hda/codecs/realtek/alc269.c
+++ b/sound/hda/codecs/realtek/alc269.c
@@ -7149,6 +7149,7 @@
SND_PCI_QUIRK(0x103c, 0x860c, "HP ZBook 17 G6",
ALC285_FIXUP_HP_GPIO_AMP_INIT),
SND_PCI_QUIRK(0x103c, 0x860f, "HP ZBook 15 G6",
ALC285_FIXUP_HP_GPIO_AMP_INIT),
SND_PCI_QUIRK(0x103c, 0x861f, "HP Elite Dragonfly G1",
ALC285_FIXUP_HP_GPIO_AMP_INIT),
+ SND_PCI_QUIRK(0x103c, 0x864f, "HP Laptop 15-dy0xxx",
ALC236_FIXUP_HP_MUTE_LED_COEFBIT2),
SND_PCI_QUIRK(0x103c, 0x869d, "HP", ALC236_FIXUP_HP_MUTE_LED),
SND_PCI_QUIRK(0x103c, 0x86c1, "HP Laptop 15-da3001TU",
ALC236_FIXUP_HP_MUTE_LED_COEFBIT2),
SND_PCI_QUIRK(0x103c, 0x86c7, "HP Envy AiO 32",
ALC274_FIXUP_HP_ENVY_GPIO),
[-- Attachment #2: 0001-alsa-hda-realtek-mute-led-15-dy0xxx.patch --]
[-- Type: text/x-patch, Size: 1912 bytes --]
From: Carl Quist <equalizerjr@gmail.com>
Subject: [PATCH] ALSA: hda/realtek: Enable mute LED on HP Laptop 15-dy0xxx
The mute LED on the HP Laptop 15-dy0xxx (PCI SSID 103c:864f, Realtek
ALC236) does not work, because the machine has no entry in the quirk
table. No fixup is applied, so no mute LED classdev is registered and
nothing ever drives the LED.
The LED is controlled by COEF index 0x07, bit 0. This was verified on
the hardware with hda-verb: setting the bit lights the mute LED and
clearing it turns the LED off.
hda-verb /dev/snd/hwC0D0 0x20 SET_COEF_INDEX 0x07
hda-verb /dev/snd/hwC0D0 0x20 SET_PROC_COEF 0x1 # LED on
hda-verb /dev/snd/hwC0D0 0x20 SET_PROC_COEF 0x200 # LED off
That is exactly what ALC236_FIXUP_HP_MUTE_LED_COEFBIT2 configures, and
the closely related HP Laptop 15-dw0xxx (103c:85f0) already uses it.
Bit 9 (0x200) is set by default on this board and is preserved by the
fixup's read-modify-write.
Tested on an HP Laptop 15-dy0xxx (SKU 7FU54UA#ABA, board 864F,
BIOS F.40).
Signed-off-by: Carl Quist <equalizerjr@gmail.com>
---
sound/hda/codecs/realtek/alc269.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/hda/codecs/realtek/alc269.c b/sound/hda/codecs/realtek/alc269.c
--- a/sound/hda/codecs/realtek/alc269.c
+++ b/sound/hda/codecs/realtek/alc269.c
@@ -7149,6 +7149,7 @@
SND_PCI_QUIRK(0x103c, 0x860c, "HP ZBook 17 G6", ALC285_FIXUP_HP_GPIO_AMP_INIT),
SND_PCI_QUIRK(0x103c, 0x860f, "HP ZBook 15 G6", ALC285_FIXUP_HP_GPIO_AMP_INIT),
SND_PCI_QUIRK(0x103c, 0x861f, "HP Elite Dragonfly G1", ALC285_FIXUP_HP_GPIO_AMP_INIT),
+ SND_PCI_QUIRK(0x103c, 0x864f, "HP Laptop 15-dy0xxx", ALC236_FIXUP_HP_MUTE_LED_COEFBIT2),
SND_PCI_QUIRK(0x103c, 0x869d, "HP", ALC236_FIXUP_HP_MUTE_LED),
SND_PCI_QUIRK(0x103c, 0x86c1, "HP Laptop 15-da3001TU", ALC236_FIXUP_HP_MUTE_LED_COEFBIT2),
SND_PCI_QUIRK(0x103c, 0x86c7, "HP Envy AiO 32", ALC274_FIXUP_HP_ENVY_GPIO),
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] ALSA: hda/realtek: Enable mute LED on HP Laptop 15-dy0xxx
2026-08-05 23:57 [PATCH] ALSA: hda/realtek: Enable mute LED on HP Laptop 15-dy0xxx Carl Quist
@ 2026-08-06 9:48 ` Takashi Iwai
0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2026-08-06 9:48 UTC (permalink / raw)
To: Carl Quist; +Cc: alsa-devel
On Thu, 06 Aug 2026 01:57:27 +0200,
Carl Quist wrote:
>
>
> The mute LED on the HP Laptop 15-dy0xxx (PCI SSID 103c:864f, Realtek
> ALC236) does not work, because the machine has no entry in the quirk
> table. No fixup is applied, so no mute LED classdev is registered and
> nothing ever drives the LED.
>
> The LED is controlled by COEF index 0x07, bit 0. This was verified on
> the hardware with hda-verb: setting the bit lights the mute LED and
> clearing it turns the LED off.
>
> hda-verb /dev/snd/hwC0D0 0x20 SET_COEF_INDEX 0x07
> hda-verb /dev/snd/hwC0D0 0x20 SET_PROC_COEF 0x1 # LED on
> hda-verb /dev/snd/hwC0D0 0x20 SET_PROC_COEF 0x200 # LED off
>
> That is exactly what ALC236_FIXUP_HP_MUTE_LED_COEFBIT2 configures, and
> the closely related HP Laptop 15-dw0xxx (103c:85f0) already uses it.
> Bit 9 (0x200) is set by default on this board and is preserved by the
> fixup's read-modify-write.
>
> Tested on an HP Laptop 15-dy0xxx (SKU 7FU54UA#ABA, board 864F,
> BIOS F.40).
>
> Signed-off-by: Carl Quist <equalizerjr@gmail.com>
Applied now. But at the next time, please submit to
linux-sound@vger.kernel.org, instead. It's the place for kernel
patches.
thanks,
Takashi
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-08-06 14:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-05 23:57 [PATCH] ALSA: hda/realtek: Enable mute LED on HP Laptop 15-dy0xxx Carl Quist
2026-08-06 9:48 ` Takashi Iwai
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.