ALSA: hda/realtek: Enable speaker on Xiaomi Notebook Pro 15 (1d72:1709)
PATCH 1/1 ALSA: hda/realtek: Enable speaker on Xiaomi Notebook Pro 15 (1d72:1709)
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.
--- sound/hda/codecs/realtek/alc269.c | 1 + 1 file changed, 1 insertion(+)
sound/hda/codecs/realtek/alc269.c +1 -0
@@ -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),
Signature · 1 line
2.55.0
Quoted 10 lines · ankirin
The Xiaomi Notebook Pro 15 (subsystem 1d72:1709, Realtek ALC256) silences its internal speaker on Linux: the codec sets coefficient register
0x10to0x0220(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.
Quoted 5 lines
Verified on this board: with bit 9 cleared (coef
0x10=0x0020), the internal speaker outputs normally, including across suspend/resume.Signed-off-by ankirin <[email protected]>
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