ALSA: hda/realtek: Enable mute LEDs on HP Envy x360 15-ew0xxx
PATCH 1/1 ALSA: hda/realtek: Enable mute LEDs on HP Envy x360 15-ew0xxx
The HP ENVY x360 2-in-1 Laptop 15-ew0xxx (103c:8a2a) has speaker and mic mute LEDs that are left unconfigured by the existing two-amplifier quirk. On its ALC245 codec the speaker LED uses coefficient 0x0b bits 3:2 and the mic LED uses active-low GPIO 2.
Select the existing combined CS35L41 I2C and x360 mute LED fixup for this board. On an equivalent Arch Linux 7.2.14 backport, both physical LEDs responded, both native ALSA LED triggers followed the onboard mixer switches, and both CS35L41 amps loaded their protection firmware.
Codex helped trace the ALSA LED controls, prepare the change and write the commit message. The LEDs were verified on the laptop.
--- sound/hda/codecs/realtek/alc269.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
sound/hda/codecs/realtek/alc269.c +2 -1
@@ -7871,7 +7871,8 @@ static const struct hda_quirk alc269_fixup_tbl[] = {SND_PCI_QUIRK (0x103c ,0x8a26 ,"HP Victus 16-d1xxx (MB 8A26)" ,ALC245_FIXUP_HP_MUTE_LED_COEFBIT ),SND_PCI_QUIRK (0x103c ,0x8a28 ,"HP Envy 13" ,ALC287_FIXUP_CS35L41_I2C_2 ),SND_PCI_QUIRK (0x103c ,0x8a29 ,"HP Envy 15" ,ALC287_FIXUP_CS35L41_I2C_2 ), -SND_PCI_QUIRK (0x103c ,0x8a2a ,"HP Envy 15" ,ALC287_FIXUP_CS35L41_I2C_2 ), +SND_PCI_QUIRK (0x103c ,0x8a2a ,"HP ENVY x360 2-in-1 Laptop 15-ew0xxx" , +ALC287_FIXUP_CS35L41_I2C_2_HP_MUTE_LEDS ),SND_PCI_QUIRK (0x103c ,0x8a2b ,"HP Envy 15" ,ALC287_FIXUP_CS35L41_I2C_2 ),SND_PCI_QUIRK (0x103c ,0x8a2c ,"HP Envy 16" ,ALC287_FIXUP_CS35L41_I2C_2 ), SND_PCI_QUIRK(0x103c, 0x8a2d, "HP Envy 16", ALC287_FIXUP_CS35L41_I2C_2),
base-commit: 0dfd513a15573ffa21710f77c2926c3cbb81a7ed
Signature · 1 line
2.56.0
Quoted 11 lines · Parmjot Singh
The HP ENVY x360 2-in-1 Laptop 15-ew0xxx (103c:8a2a) has speaker and mic mute LEDs that are left unconfigured by the existing two-amplifier quirk. On its ALC245 codec the speaker LED uses coefficient
0x0bbits 3:2 and the mic LED uses active-low GPIO 2.Select the existing combined CS35L41 I2C and x360 mute LED fixup for this board. On an equivalent Arch Linux 7.2.14 backport, both physical LEDs responded, both native ALSA LED triggers followed the onboard mixer switches, and both CS35L41 amps loaded their protection firmware.
Quoted 6 lines
Codex helped trace the ALSA LED controls, prepare the change and write the commit message. The LEDs were verified on the laptop.
Fixes aa8e3ef4fe53 ("ALSA: hda/realtek: Add quirks for various HP ENVY models")Signed-off-by Parmjot Singh <[email protected]>
Applied now. Thanks.
Takashi