sound/hda/codecs/realtek/alc269.c | 8 ++++++++ 1 file changed, 8 insertions(+)
fix mute/micmute LEDs and headset microphone for Acer Nitro ANV15-51.
[ The headset microphone issue is solved by Kailang]
Link: https://bugzilla.kernel.org/show_bug.cgi?id=220279
Cc: <stable@vger.kernel.org>
Signed-off-by: Zhang Heng <zhangheng@kylinos.cn>
---
There is a small issue now, the mute LED stays on when I mute the
laptop microphone, unmute the headphone microphone, and set the
headphone mic as default. Is it possible to fix this?
sound/hda/codecs/realtek/alc269.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/sound/hda/codecs/realtek/alc269.c b/sound/hda/codecs/realtek/alc269.c
index c4228d982271..1c11f7c3b193 100644
--- a/sound/hda/codecs/realtek/alc269.c
+++ b/sound/hda/codecs/realtek/alc269.c
@@ -4047,6 +4047,7 @@ enum {
ALC236_FIXUP_HP_MUTE_LED_MICMUTE_GPIO,
ALC233_FIXUP_LENOVO_GPIO2_MIC_HOTKEY,
ALC245_FIXUP_BASS_HP_DAC,
+ ALC245_FIXUP_ACER_MICMUTE_LED,
};
/* A special fixup for Lenovo C940 and Yoga Duet 7;
@@ -6554,6 +6555,12 @@ static const struct hda_fixup alc269_fixups[] = {
/* Borrow the DAC routing selected for those Thinkpads */
.v.func = alc285_fixup_thinkpad_x1_gen7,
},
+ [ALC245_FIXUP_ACER_MICMUTE_LED] = {
+ .type = HDA_FIXUP_FUNC,
+ .v.func = alc285_fixup_hp_coef_micmute_led,
+ .chained = true,
+ .chain_id = ALC2XX_FIXUP_HEADSET_MIC,
+ }
};
static const struct hda_quirk alc269_fixup_tbl[] = {
@@ -6605,6 +6612,7 @@ static const struct hda_quirk alc269_fixup_tbl[] = {
SND_PCI_QUIRK(0x1025, 0x159c, "Acer Nitro 5 AN515-58", ALC2XX_FIXUP_HEADSET_MIC),
SND_PCI_QUIRK(0x1025, 0x1597, "Acer Nitro 5 AN517-55", ALC2XX_FIXUP_HEADSET_MIC),
SND_PCI_QUIRK(0x1025, 0x169a, "Acer Swift SFG16", ALC256_FIXUP_ACER_SFG16_MICMUTE_LED),
+ SND_PCI_QUIRK(0x1025, 0x171e, "Acer Nitro ANV15-51", ALC245_FIXUP_ACER_MICMUTE_LED),
SND_PCI_QUIRK(0x1025, 0x1826, "Acer Helios ZPC", ALC287_FIXUP_PREDATOR_SPK_CS35L41_I2C_2),
SND_PCI_QUIRK(0x1025, 0x182c, "Acer Helios ZPD", ALC287_FIXUP_PREDATOR_SPK_CS35L41_I2C_2),
SND_PCI_QUIRK(0x1025, 0x1844, "Acer Helios ZPS", ALC287_FIXUP_PREDATOR_SPK_CS35L41_I2C_2),
--
2.47.1
On Mon, 09 Feb 2026 14:41:49 +0100, Zhang Heng wrote: > > fix mute/micmute LEDs and headset microphone for Acer Nitro ANV15-51. > > [ The headset microphone issue is solved by Kailang] > > Link: https://bugzilla.kernel.org/show_bug.cgi?id=220279 > Cc: <stable@vger.kernel.org> > Signed-off-by: Zhang Heng <zhangheng@kylinos.cn> > --- > There is a small issue now, the mute LED stays on when I mute the > laptop microphone, unmute the headphone microphone, and set the > headphone mic as default. Is it possible to fix this? Can LED be controlled dynamically by writing to a sysfs file in /sys/class/leds/*? e.g. % cat /sys/class/leds/platform::micmute/brightness 1 % echo 0 > /sys/class/leds/platform::micmute/brightness If the direct write changes the actual LED status, it's not about the sound driver problem, but possibly some plumbing in user-space via UCM, etc. thanks, Takashi
© 2016 - 2026 Red Hat, Inc.