Skip to content

Commit ef5fbdf

Browse files
Pc1598tiwai
authored andcommitted
ALSA: hda/realtek: Add subwoofer quirk for Infinix ZERO BOOK 13
Infinix ZERO BOOK 13 has a 2+2 speaker system which isn't probed correctly. This patch adds a quirk with the proper pin connections. Also The mic in this laptop suffers too high gain resulting in mostly fan noise being recorded, This patch Also limit mic boost. HW Probe for device; https://linux-hardware.org/?probe=a2e892c47b Test: All 4 speaker works, Mic has low noise. Signed-off-by: Piyush Raj Chouhan <piyushchouhan1598@gmail.com> Link: https://patch.msgid.link/20241028155516.15552-1-piyuschouhan1598@gmail.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent 78e7be0 commit ef5fbdf

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

sound/pci/hda/patch_realtek.c

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7552,6 +7552,7 @@ enum {
75527552
ALC290_FIXUP_SUBWOOFER_HSJACK,
75537553
ALC269_FIXUP_THINKPAD_ACPI,
75547554
ALC269_FIXUP_DMIC_THINKPAD_ACPI,
7555+
ALC269VB_FIXUP_INFINIX_ZERO_BOOK_13,
75557556
ALC269VB_FIXUP_CHUWI_COREBOOK_XPRO,
75567557
ALC255_FIXUP_ACER_MIC_NO_PRESENCE,
75577558
ALC255_FIXUP_ASUS_MIC_NO_PRESENCE,
@@ -7998,6 +7999,16 @@ static const struct hda_fixup alc269_fixups[] = {
79987999
.type = HDA_FIXUP_FUNC,
79998000
.v.func = alc269_fixup_pincfg_U7x7_headset_mic,
80008001
},
8002+
[ALC269VB_FIXUP_INFINIX_ZERO_BOOK_13] = {
8003+
.type = HDA_FIXUP_PINS,
8004+
.v.pins = (const struct hda_pintbl[]) {
8005+
{ 0x14, 0x90170151 }, /* use as internal speaker (LFE) */
8006+
{ 0x1b, 0x90170152 }, /* use as internal speaker (back) */
8007+
{ }
8008+
},
8009+
.chained = true,
8010+
.chain_id = ALC269_FIXUP_LIMIT_INT_MIC_BOOST
8011+
},
80018012
[ALC269VB_FIXUP_CHUWI_COREBOOK_XPRO] = {
80028013
.type = HDA_FIXUP_PINS,
80038014
.v.pins = (const struct hda_pintbl[]) {
@@ -11003,6 +11014,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
1100311014
SND_PCI_QUIRK(0x1d72, 0x1945, "Redmi G", ALC256_FIXUP_ASUS_HEADSET_MIC),
1100411015
SND_PCI_QUIRK(0x1d72, 0x1947, "RedmiBook Air", ALC255_FIXUP_XIAOMI_HEADSET_MIC),
1100511016
SND_PCI_QUIRK(0x2782, 0x0214, "VAIO VJFE-CL", ALC269_FIXUP_LIMIT_INT_MIC_BOOST),
11017+
SND_PCI_QUIRK(0x2782, 0x0228, "Infinix ZERO BOOK 13", ALC269VB_FIXUP_INFINIX_ZERO_BOOK_13),
1100611018
SND_PCI_QUIRK(0x2782, 0x0232, "CHUWI CoreBook XPro", ALC269VB_FIXUP_CHUWI_COREBOOK_XPRO),
1100711019
SND_PCI_QUIRK(0x2782, 0x1707, "Vaio VJFE-ADL", ALC298_FIXUP_SPK_VOLUME),
1100811020
SND_PCI_QUIRK(0x8086, 0x2074, "Intel NUC 8", ALC233_FIXUP_INTEL_NUC8_DMIC),

0 commit comments

Comments
 (0)