Linux Sound subsystem development
 help / color / mirror / Atom feed
* [PATCH] ALSA:hda/realtek:ALC269 fixup for Legion 7 15ASH11 Mic Mute LED
@ 2026-07-27  8:00 Jackie Dong
  2026-07-27 13:53 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Jackie Dong @ 2026-07-27  8:00 UTC (permalink / raw)
  To: perex, tiwai, zhangheng, kailang, damien.dagorn29, sean,
	chris.chiu, huanglei, dnaim
  Cc: linux-sound, linux-kernel, 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.

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.

Signed-off-by: Jackie Dong <xy-jackie@139.com>
---
 sound/hda/codecs/realtek/alc269.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sound/hda/codecs/realtek/alc269.c b/sound/hda/codecs/realtek/alc269.c
index 379e1458f4ac..92bf865c7dac 100644
--- a/sound/hda/codecs/realtek/alc269.c
+++ b/sound/hda/codecs/realtek/alc269.c
@@ -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),
-- 
2.53.0



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ALSA:hda/realtek:ALC269 fixup for Legion 7 15ASH11 Mic Mute LED
  2026-07-27  8:00 [PATCH] ALSA:hda/realtek:ALC269 fixup for Legion 7 15ASH11 Mic Mute LED Jackie Dong
@ 2026-07-27 13:53 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2026-07-27 13:53 UTC (permalink / raw)
  To: Jackie Dong
  Cc: perex, tiwai, zhangheng, kailang, damien.dagorn29, sean,
	chris.chiu, huanglei, dnaim, linux-sound, linux-kernel

On Mon, 27 Jul 2026 10:00:48 +0200,
Jackie Dong wrote:
> 
> 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.
> 
> Signed-off-by: Jackie Dong <xy-jackie@139.com>

Applied now.  Thanks.


Takashi

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-07-27 13:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-27  8:00 [PATCH] ALSA:hda/realtek:ALC269 fixup for Legion 7 15ASH11 Mic Mute LED Jackie Dong
2026-07-27 13:53 ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox