]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ALSA: hda/realtek: Enable headset Mic on Positivo P15X
authorEdson Juliano Drosdeck <edson.drosdeck@gmail.com>
Thu, 19 Jun 2025 19:12:15 +0000 (16:12 -0300)
committerTakashi Iwai <tiwai@suse.de>
Fri, 20 Jun 2025 08:05:46 +0000 (10:05 +0200)
Positivo P15X is equipped with ALC269VC, and needs a fix to make
the headset mic to work.
Also must to limits the internal microphone boost.

Signed-off-by: Edson Juliano Drosdeck <edson.drosdeck@gmail.com>
Link: https://patch.msgid.link/20250619191215.17203-1-edson.drosdeck@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c

index 76cc908d49576186218ef567d0e6e8724611aeb7..2e1618494c2098a82967f7d5126efaaa6e4f5411 100644 (file)
@@ -8032,6 +8032,7 @@ enum {
        ALC287_FIXUP_PREDATOR_SPK_CS35L41_I2C_2,
        ALC285_FIXUP_ASUS_GA605K_HEADSET_MIC,
        ALC285_FIXUP_ASUS_GA605K_I2C_SPEAKER2_TO_DAC1,
+       ALC269_FIXUP_POSITIVO_P15X_HEADSET_MIC,
 };
 
 /* A special fixup for Lenovo C940 and Yoga Duet 7;
@@ -10430,6 +10431,12 @@ static const struct hda_fixup alc269_fixups[] = {
                .type = HDA_FIXUP_FUNC,
                .v.func = alc285_fixup_speaker2_to_dac1,
        },
+       [ALC269_FIXUP_POSITIVO_P15X_HEADSET_MIC] = {
+               .type = HDA_FIXUP_FUNC,
+               .v.func = alc269_fixup_limit_int_mic_boost,
+               .chained = true,
+               .chain_id = ALC269VC_FIXUP_ACER_MIC_NO_PRESENCE,
+       },
 };
 
 static const struct hda_quirk alc269_fixup_tbl[] = {
@@ -11406,6 +11413,7 @@ static const struct hda_quirk alc269_fixup_tbl[] = {
        SND_PCI_QUIRK(0x2782, 0x0214, "VAIO VJFE-CL", ALC269_FIXUP_LIMIT_INT_MIC_BOOST),
        SND_PCI_QUIRK(0x2782, 0x0228, "Infinix ZERO BOOK 13", ALC269VB_FIXUP_INFINIX_ZERO_BOOK_13),
        SND_PCI_QUIRK(0x2782, 0x0232, "CHUWI CoreBook XPro", ALC269VB_FIXUP_CHUWI_COREBOOK_XPRO),
+       SND_PCI_QUIRK(0x2782, 0x1407, "Positivo P15X", ALC269_FIXUP_POSITIVO_P15X_HEADSET_MIC),
        SND_PCI_QUIRK(0x2782, 0x1701, "Infinix Y4 Max", ALC269VC_FIXUP_INFINIX_Y4_MAX),
        SND_PCI_QUIRK(0x2782, 0x1705, "MEDION E15433", ALC269VC_FIXUP_INFINIX_Y4_MAX),
        SND_PCI_QUIRK(0x2782, 0x1707, "Vaio VJFE-ADL", ALC298_FIXUP_SPK_VOLUME),