ALSA:hda/realtek:ALC269 fixup for Legion 7 15ASH11 Mic Mute LED
PATCH 1/1 ALSA:hda/realtek:ALC269 fixup for Legion 7 15ASH11 Mic Mute LED
Lenovo Legion 7 15ASH11 with AMD RYZEN AI MAX+ 392 (Strix Halo, ACP 7.0) uses Realtek ALC287 series codec. Its audio subsystem adopts a hardware design similar to that of the Yoga Pro 7 15ASH11.
It shares PCI SSID 17aa:38f9 with Thinkbook 16P Gen5. Therefore, use HDA_CODEC_QUIRK to apply ALC287_FIXUP_LENOVO_YOGA_PRO7 for identification.
After added the HDA_CODEC_QUIRK quirk special for Lenovo Legion 7 15ASH11, the mic mute LED works well.
--- sound/hda/codecs/realtek/alc269.c | 4 ++++ 1 file changed, 4 insertions(+)
sound/hda/codecs/realtek/alc269.c +4 -0
@@ -7927,6 +7927,10 @@ static const struct hda_quirk alc269_fixup_tbl[] = {SND_PCI_QUIRK (0x17aa ,0x38e0 ,"Yoga Y990 Intel VECO Dual" ,ALC287_FIXUP_TAS2781_I2C ),SND_PCI_QUIRK (0x17aa ,0x38f8 ,"Yoga Book 9i" ,ALC287_FIXUP_TAS2781_I2C ),SND_PCI_QUIRK (0x17aa ,0x38df ,"Y990 YG DUAL" ,ALC287_FIXUP_TAS2781_I2C ), +/* Legion 7 15ASH11 shares PCI SSID 17aa:38f9 with Thinkbook 16P Gen5; +* use codec SSID to distinguish them +*/ +HDA_CODEC_QUIRK (0x17aa ,0x395b ,"Lenovo Legion 7 15ASH11" ,ALC287_FIXUP_LENOVO_YOGA_PRO7 ),SND_PCI_QUIRK (0x17aa ,0x38f9 ,"Thinkbook 16P Gen5" ,ALC287_FIXUP_MG_RTKC_CSAMP_CS35L41_I2C_THINKPAD ),SND_PCI_QUIRK (0x17aa ,0x38fa ,"Thinkbook 16P Gen5" ,ALC287_FIXUP_MG_RTKC_CSAMP_CS35L41_I2C_THINKPAD ), SND_PCI_QUIRK(0x17aa, 0x38fc, "Lenovo Yoga Pro 7 15ASH11", ALC287_FIXUP_LENOVO_YOGA_PRO7),
Signature · 1 line
2.53.0
Quoted 5 lines · Jackie Dong
Lenovo Legion 7 15ASH11 with AMD RYZEN AI MAX+ 392 (Strix Halo, ACP 7.0) uses Realtek ALC287 series codec. Its audio subsystem adopts a hardware design similar to that of the Yoga Pro 7 15ASH11.
Quoted 8 lines
It shares PCI SSID 17aa:38f9 with Thinkbook 16P Gen5. Therefore, use
HDA_CODEC_QUIRKto applyALC287_FIXUP_LENOVO_YOGA_PRO7for identification.After added the
HDA_CODEC_QUIRKquirk special for Lenovo Legion 7 15ASH11, the mic mute LED works well.Signed-off-by Jackie Dong <[email protected]>
Applied now. Thanks.
Takashi