Linux Sound subsystem development
 help / color / mirror / Atom feed
* [PATCH] ASoC: hda/realtek: Add support for Lenovo Hudson
@ 2026-11-11  4:36 guanlan
  2026-11-11  4:45 ` sashiko-bot
  2026-11-11 14:27 ` Marco Giunta
  0 siblings, 2 replies; 3+ messages in thread
From: guanlan @ 2026-11-11  4:36 UTC (permalink / raw)
  To: Jaroslav Kysela, Takashi Iwai, Marco Giunta, open list:SOUND,
	open list
  Cc: Tao Xiao

From: Tao Xiao <guanlan@awinic.com>

The Lenovo Hudson (SSID 17aa:3814) uses the same ALC287 codec with two
AW88399 HDA side-codec amplifiers as the existing Legion models, so it
needs the same speaker setup.

Apply ALC287_FIXUP_LENOVO_LEGION_AW88399 for this machine and add the
matching entry to the aw88399_prop_model_table so that the reversed I2C
wiring is corrected in the same way.

Without this, the internal speakers do not work correctly. Tested on a
Lenovo Hudson laptop.

Signed-off-by: Tao Xiao <guanlan@awinic.com>
---
 sound/hda/codecs/realtek/alc269.c          | 2 ++
 sound/hda/codecs/side-codecs/aw88399_hda.c | 1 +
 2 files changed, 3 insertions(+)

diff --git a/sound/hda/codecs/realtek/alc269.c b/sound/hda/codecs/realtek/alc269.c
index a756e0076021..b33bd4efb51c 100644
--- a/sound/hda/codecs/realtek/alc269.c
+++ b/sound/hda/codecs/realtek/alc269.c
@@ -8664,8 +8664,10 @@ static const struct hda_quirk alc269_fixup_tbl[] = {
 	HDA_CODEC_QUIRK(0x17aa, 0x3937, "Legion R9000P ADR10H", ALC287_FIXUP_LENOVO_LEGION_AW88399),
 	HDA_CODEC_QUIRK(0x17aa, 0x3938, "Legion Pro 7 16AFR10H", ALC287_FIXUP_LENOVO_LEGION_AW88399),
 	HDA_CODEC_QUIRK(0x17aa, 0x3939, "Legion Pro 7 16AFR10H", ALC287_FIXUP_LENOVO_LEGION_AW88399),
+	HDA_CODEC_QUIRK(0x17aa, 0x3814, "Lenovo Hudson", ALC287_FIXUP_LENOVO_LEGION_AW88399),
 	SND_PCI_QUIRK(0x17aa, 0x393e, "Lenovo ThinkBook 14 G8+ IPH", ALC287_FIXUP_LENOVO_XPAD_HEADSET_JACK),
 	HDA_CODEC_QUIRK(0x17aa, 0x394c, "Lenovo Yoga Slim 7 14AGP11", ALC287_FIXUP_YOGA9_14IAP7_BASS_SPK_PIN),
+	SND_PCI_QUIRK(0x17aa, 0x3814, "Lenovo Hudson", ALC287_FIXUP_LENOVO_LEGION_AW88399),
 	SND_PCI_QUIRK(0x17aa, 0x3977, "IdeaPad S210", ALC283_FIXUP_INT_MIC),
 	SND_PCI_QUIRK(0x17aa, 0x3978, "Lenovo B50-70", ALC269_FIXUP_DMIC_THINKPAD_ACPI),
 	SND_PCI_QUIRK(0x17aa, 0x3bf8, "Quanta FL1", ALC269_FIXUP_PCM_44K),
diff --git a/sound/hda/codecs/side-codecs/aw88399_hda.c b/sound/hda/codecs/side-codecs/aw88399_hda.c
index 81ee8a3987fd..b204aabc5572 100644
--- a/sound/hda/codecs/side-codecs/aw88399_hda.c
+++ b/sound/hda/codecs/side-codecs/aw88399_hda.c
@@ -168,6 +168,7 @@ struct aw88399_prop_model {
 };
 
 static const struct aw88399_prop_model aw88399_prop_model_table[] = {
+	{ "17AA3814", aw88399_swap_channels },
 	{ "17AA3906", aw88399_swap_channels },
 	{ "17AA3907", aw88399_swap_channels },
 	{ "17AA3927", aw88399_swap_channels },

base-commit: 067c5c24cef23d913b67eaaf71ae67e7169a6620
-- 
2.34.1


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

end of thread, other threads:[~2026-11-11 14:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-11  4:36 [PATCH] ASoC: hda/realtek: Add support for Lenovo Hudson guanlan
2026-11-11  4:45 ` sashiko-bot
2026-11-11 14:27 ` Marco Giunta

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