@Vadim,
since I can't reproduce the noise you mentioned, I can't verify this patch.
Could you please build a kernel with the patch below and do a test? thanks.
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index aee4cbd29d53..e20cf752ce76 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -5582,6 +5582,7 @@ enum { ALC294_FIXUP_ASUS_HEADSET_MIC, ALC294_FIXUP_ASUS_SPK, ALC225_FIXUP_HEADSET_JACK, + ALC285_FIXUP_LENOVO_PC_BEEP_IN_NOISE, };
static const struct hda_fixup alc269_fixups[] = { @@ -6522,6 +6523,17 @@ static const struct hda_fixup alc269_fixups[] = { .type = HDA_FIXUP_FUNC, .v.func = alc_fixup_headset_jack, }, + [ALC285_FIXUP_LENOVO_PC_BEEP_IN_NOISE] = { + .type = HDA_FIXUP_VERBS, + .v.verbs = (const struct hda_verb[]) { + /* Set EAPD high */ + { 0x20, AC_VERB_SET_COEF_INDEX, 0x36 }, + { 0x20, AC_VERB_SET_PROC_COEF, 0x57d7 }, + { } + }, + .chained = true, + .chain_id = ALC285_FIXUP_LENOVO_HEADPHONE_NOISE + }, };
static const struct snd_pci_quirk alc269_fixup_tbl[] = { @@ -7205,7 +7217,7 @@ static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = { {0x12, 0x90a60130}, {0x19, 0x03a11020}, {0x21, 0x0321101f}), - SND_HDA_PIN_QUIRK(0x10ec0285, 0x17aa, "Lenovo", ALC285_FIXUP_LENOVO_HEADPHONE_NOISE, + SND_HDA_PIN_QUIRK(0x10ec0285, 0x17aa, "Lenovo", ALC285_FIXUP_LENOVO_PC_BEEP_IN_NOISE, {0x12, 0x90a60130}, {0x14, 0x90170110}, {0x19, 0x04a11040},
@Vadim,
since I can't reproduce the noise you mentioned, I can't verify this patch.
Could you please build a kernel with the patch below and do a test? thanks.
diff --git a/sound/ pci/hda/ patch_realtek. c b/sound/ pci/hda/ patch_realtek. c .e20cf752ce76 100644 pci/hda/ patch_realtek. c pci/hda/ patch_realtek. c
ALC294_ FIXUP_ASUS_ HEADSET_ MIC,
ALC294_ FIXUP_ASUS_ SPK,
ALC225_ FIXUP_HEADSET_ JACK, FIXUP_LENOVO_ PC_BEEP_ IN_NOISE,
index aee4cbd29d53.
--- a/sound/
+++ b/sound/
@@ -5582,6 +5582,7 @@ enum {
+ ALC285_
};
static const struct hda_fixup alc269_fixups[] = {
.type = HDA_FIXUP_FUNC,
.v.func = alc_fixup_ headset_ jack, FIXUP_LENOVO_ PC_BEEP_ IN_NOISE] = { SET_COEF_ INDEX, 0x36 }, SET_PROC_ COEF, 0x57d7 }, FIXUP_LENOVO_ HEADPHONE_ NOISE
@@ -6522,6 +6523,17 @@ static const struct hda_fixup alc269_fixups[] = {
},
+ [ALC285_
+ .type = HDA_FIXUP_VERBS,
+ .v.verbs = (const struct hda_verb[]) {
+ /* Set EAPD high */
+ { 0x20, AC_VERB_
+ { 0x20, AC_VERB_
+ { }
+ },
+ .chained = true,
+ .chain_id = ALC285_
+ },
};
static const struct snd_pci_quirk alc269_fixup_tbl[] = { pin_fixup_ tbl[] = {
{0x12, 0x90a60130},
{0x19, 0x03a11020},
{0x21, 0x0321101f}), PIN_QUIRK( 0x10ec0285, 0x17aa, "Lenovo", ALC285_ FIXUP_LENOVO_ HEADPHONE_ NOISE, PIN_QUIRK( 0x10ec0285, 0x17aa, "Lenovo", ALC285_ FIXUP_LENOVO_ PC_BEEP_ IN_NOISE,
{0x12, 0x90a60130},
{0x14, 0x90170110},
{0x19, 0x04a11040},
@@ -7205,7 +7217,7 @@ static const struct snd_hda_pin_quirk alc269_
- SND_HDA_
+ SND_HDA_