Linux Sound subsystem development
 help / color / mirror / Atom feed
* [PATCH] ALSA: hda/realtek: Enable speaker on Xiaomi Notebook Pro 15 (1d72:1709)
@ 2026-08-06 14:18 ankirin
  2026-08-06 14:58 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: ankirin @ 2026-08-06 14:18 UTC (permalink / raw)
  To: linux-sound; +Cc: alsa-devel, tiwai, ankirin

The Xiaomi Notebook Pro 15 (subsystem 1d72:1709, Realtek ALC256)
silences its internal speaker on Linux: the codec sets coefficient
register 0x10 to 0x0220 (bit 9 set) on boot and after S3 resume.

This is the same mechanism already supported for the Xiaomi Mi
Laptop Pro 15 (1d72:1905) via ALC256_FIXUP_XIAOMI_PRO15_RESUME,
which clears the stuck coef bit on every codec init. Add the
missing 1d72:1709 SSID entry to the quirk table.

Verified on this board: with bit 9 cleared (coef 0x10 = 0x0020),
the internal speaker outputs normally, including across
suspend/resume.

Signed-off-by: ankirin <ankirin4@gmail.com>
---
 sound/hda/codecs/realtek/alc269.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/hda/codecs/realtek/alc269.c b/sound/hda/codecs/realtek/alc269.c
index bd53507..084e814 100644
--- a/sound/hda/codecs/realtek/alc269.c
+++ b/sound/hda/codecs/realtek/alc269.c
@@ -8168,6 +8168,7 @@ static const struct hda_quirk alc269_fixup_tbl[] = {
 	SND_PCI_QUIRK(0x1d17, 0x3288, "Haier Boyue G42", ALC269VC_FIXUP_ACER_VCOPPERBOX_PINS),
 	SND_PCI_QUIRK(0x1d72, 0x1602, "RedmiBook", ALC255_FIXUP_XIAOMI_HEADSET_MIC),
 	SND_PCI_QUIRK(0x1d72, 0x1701, "XiaomiNotebook Pro", ALC298_FIXUP_DELL1_MIC_NO_PRESENCE),
+	SND_PCI_QUIRK(0x1d72, 0x1709, "Xiaomi Notebook Pro 15", ALC256_FIXUP_XIAOMI_PRO15_RESUME),
 	SND_PCI_QUIRK(0x1d72, 0x1901, "RedmiBook 14", ALC256_FIXUP_ASUS_HEADSET_MIC),
 	SND_PCI_QUIRK(0x1d72, 0x1905, "Xiaomi Mi Laptop Pro 15", ALC256_FIXUP_XIAOMI_PRO15_RESUME),
 	SND_PCI_QUIRK(0x1d72, 0x1945, "Redmi G", ALC256_FIXUP_ASUS_HEADSET_MIC),
-- 
2.55.0


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

* Re: [PATCH] ALSA: hda/realtek: Enable speaker on Xiaomi Notebook Pro 15 (1d72:1709)
  2026-08-06 14:18 [PATCH] ALSA: hda/realtek: Enable speaker on Xiaomi Notebook Pro 15 (1d72:1709) ankirin
@ 2026-08-06 14:58 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2026-08-06 14:58 UTC (permalink / raw)
  To: ankirin; +Cc: linux-sound, alsa-devel

On Thu, 06 Aug 2026 16:18:15 +0200,
ankirin wrote:
> 
> The Xiaomi Notebook Pro 15 (subsystem 1d72:1709, Realtek ALC256)
> silences its internal speaker on Linux: the codec sets coefficient
> register 0x10 to 0x0220 (bit 9 set) on boot and after S3 resume.
> 
> This is the same mechanism already supported for the Xiaomi Mi
> Laptop Pro 15 (1d72:1905) via ALC256_FIXUP_XIAOMI_PRO15_RESUME,
> which clears the stuck coef bit on every codec init. Add the
> missing 1d72:1709 SSID entry to the quirk table.
> 
> Verified on this board: with bit 9 cleared (coef 0x10 = 0x0020),
> the internal speaker outputs normally, including across
> suspend/resume.
> 
> Signed-off-by: ankirin <ankirin4@gmail.com>

The Signed-off-by is a legal requirement, hence it needs to be with a
real name (or a known identity).  Please resubmit with the correction.


thanks,

Takashi

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

end of thread, other threads:[~2026-08-06 14:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-06 14:18 [PATCH] ALSA: hda/realtek: Enable speaker on Xiaomi Notebook Pro 15 (1d72:1709) ankirin
2026-08-06 14:58 ` Takashi Iwai

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