ALSA: hda/realtek: Add micmute LED quirk for Acer Aspire A515-57
PATCH 1/1 ALSA: hda/realtek: Add micmute LED quirk for Acer Aspire A515-57
The Acer Aspire A515-57 with subsystem ID 1025:1616 and Realtek ALC256 uses GPIO2 (0x04) for the microphone mute LED. Without a quirk, the GPIO mask and direction are not configured and the LED does not follow the microphone mute state.
Reuse ALC256_FIXUP_ACER_SFG16_MICMUTE_LED, which configures GPIO2 as the microphone mute LED.
Tested on an Acer Aspire A515-57 with ALC256 (10ec:0256, subsystem 1025:1616). GPIO mask and direction are 0x04 and GPIO data switches between 0x00 and 0x04; the LED device is registered and follows the microphone mute state.
--- sound/hda/codecs/realtek/alc269.c | 1 + 1 file changed, 1 insertion(+)
sound/hda/codecs/realtek/alc269.c +1 -0
@@ -7063,6 +7063,7 @@ static const struct hda_quirk alc269_fixup_tbl[] = {SND_PCI_QUIRK (0x1025 ,0x1597 ,"Acer Nitro 5 AN517-55" ,ALC2XX_FIXUP_HEADSET_MIC ),SND_PCI_QUIRK (0x1025 ,0x159e ,"Acer Nitro 5 AN515-46" ,ALC2XX_FIXUP_HEADSET_MIC ),SND_PCI_QUIRK (0x1025 ,0x160e ,"Acer PT316-51S" ,ALC2XX_FIXUP_HEADSET_MIC ), +SND_PCI_QUIRK (0x1025 ,0x1616 ,"Acer Aspire A515-57" ,ALC256_FIXUP_ACER_SFG16_MICMUTE_LED ),SND_PCI_QUIRK (0x1025 ,0x161f ,"Acer S40-54" ,ALC256_FIXUP_ACER_MIC_NO_PRESENCE ),SND_PCI_QUIRK (0x1025 ,0x1640 ,"Acer Aspire A315-44P" ,ALC256_FIXUP_ACER_SFG16_MICMUTE_LED ), SND_PCI_QUIRK(0x1025, 0x166c, "Acer Predator PH16-71", ALC2XX_FIXUP_HEADSET_MIC),
Signature · 1 line
2.43.0
Quoted 9 lines · Giulio Gualtierotti
The Acer Aspire A515-57 with subsystem ID 1025:1616 and Realtek ALC256 uses GPIO2 (
0x04) for the microphone mute LED. Without a quirk, the GPIO mask and direction are not configured and the LED does not follow the microphone mute state.Reuse
ALC256_FIXUP_ACER_SFG16_MICMUTE_LED, which configures GPIO2 as the microphone mute LED.
Quoted 6 lines
Tested on an Acer Aspire A515-57 with ALC256 (10ec:0256, subsystem 1025:1616). GPIO mask and direction are
0x04and GPIO data switches between0x00and0x04; the LED device is registered and follows the microphone mute state.Signed-off-by Giulio Gualtierotti <[email protected]>
Applied now. Thanks.
Takashi