HP headset Mic detect issue
Hi Takashi,
If it turn on power save mode, Headset Mic will lose after boot. Attach patch will solve it.
Many Thanks.
BR,
Kailang
From d130a1b5b90a7df7609bba12926db0abf3db0034 Mon Sep 17 00:00:00 2001
From: kailang <[email protected]>
Date: Tue, 3 Nov 2020 15:30:51 +0800
Subject: [PATCH] HP Headset Mic can't detect after boot
System boot or warm boot with plugged headset. If it turn on power save mode, Headset Mic will lose. This patch will solve this issue.
Signed-off-by Kailang Yang <[email protected]>
sound/pci/hda/patch_realtek.c +13 -0
@@ -6300,6 +6300,7 @@ enum {ALC255_FIXUP_XIAOMI_HEADSET_MIC ,ALC274_FIXUP_HP_MIC ,ALC274_FIXUP_HP_HEADSET_MIC , + ALC256_FIXUP_HP_HEADSET_MIC, }; static const struct hda_fixup alc269_fixups[] = {
@@ -7693,6 +7694,10 @@ static const struct hda_fixup alc269_fixups[] = { .chained = true, .chain_id =ALC274_FIXUP_HP_MIC }, + [ALC256_FIXUP_HP_HEADSET_MIC] = { + .type = HDA_FIXUP_FUNC, + .v.func = alc274_fixup_hp_headset_mic, + }, };static const struct snd_pci_quirk alc269_fixup_tbl[] = {
@@ -8265,6 +8270,10 @@ static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = { {0x19, 0x02a11020}, {0x1a, 0x02a11030}, {0x21, 0x0221101f}), +SND_HDA_PIN_QUIRK (0x10ec0236 ,0x103c ,"HP" ,ALC256_FIXUP_HP_HEADSET_MIC , + {0x14, 0x90170110}, + {0x19, 0x02a11020}, + {0x21, 0x02211030}),SND_HDA_PIN_QUIRK (0x10ec0255 ,0x1028 ,"Dell" ,ALC255_FIXUP_DELL2_MIC_NO_PRESENCE , {0x14, 0x90170110}, {0x21, 0x02211020}),
@@ -8367,6 +8376,10 @@ static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = { {0x1a, 0x90a70130}, {0x1b, 0x90170110}, {0x21, 0x03211020}), + SND_HDA_PIN_QUIRK(0x10ec0256, 0x103c, "HP", ALC256_FIXUP_HP_HEADSET_MIC, + {0x14, 0x90170110}, + {0x19, 0x02a11020}, + {0x21, 0x0221101f}), SND_HDA_PIN_QUIRK(0x10ec0274, 0x103c, "HP", ALC274_FIXUP_HP_HEADSET_MIC, {0x17, 0x90170110}, {0x19, 0x03a11030},
Quoted 10 lines · Kailang
Hi Takashi,
If it turn on power save mode, Headset Mic will lose after boot. Attach patch will solve it.
Many Thanks.
BR,
Kailang
Applied now. Thanks.
Takashi