RE: [REGRESSION] Distorted sound on Acer Aspire A115-31 laptop

Kailang
2024-12-24T02:54:51Z

[-- Attachment #1: Type: text/plain, Size: 871 bytes --]

Please test attach patch.

> -----Original Message-----
> From: Evgeny Kapun <abacabadabacaba@gmail.com>
> Sent: Monday, December 23, 2024 9:29 PM
> To: Takashi Iwai <tiwai@suse.de>
> Cc: Linux Sound Mailing List <linux-sound@vger.kernel.org>; Kailang
> <kailang@realtek.com>; Linux Kernel Mailing List
> <linux-kernel@vger.kernel.org>; Linux Regressions Mailing List
> <regressions@lists.linux.dev>; Linux Stable Mailing List
> <stable@vger.kernel.org>
> Subject: Re: [REGRESSION] Distorted sound on Acer Aspire A115-31 laptop
>
>
> External mail.
>
>
>
> >> Or do you need alsa-info with a new kernel, but with the offending
> >> commit reverted?
> > Yes, that'll be the best for eliminating other possible artifacts.
>
> Here are two alsa-info outputs for the same kernel version, except that one has
> the problematic commit reverted.

[-- Attachment #2: 0000-acer-a115.patch --]
[-- Type: application/octet-stream, Size: 904 bytes --]

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 61ba5dc35b8b..2934799b6e07 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -10158,6 +10158,7 @@ static const struct hda_quirk alc269_fixup_tbl[] = {
SND_PCI_QUIRK(0x1025, 0x1308, "Acer Aspire Z24-890", ALC286_FIXUP_ACER_AIO_HEADSET_MIC),
SND_PCI_QUIRK(0x1025, 0x132a, "Acer TravelMate B114-21", ALC233_FIXUP_ACER_HEADSET_MIC),
SND_PCI_QUIRK(0x1025, 0x1330, "Acer TravelMate X514-51T", ALC255_FIXUP_ACER_HEADSET_MIC),
+ SND_PCI_QUIRK(0x1025, 0x1360, "Acer Aspire A115", ALC255_FIXUP_ACER_MIC_NO_PRESENCE),
SND_PCI_QUIRK(0x1025, 0x141f, "Acer Spin SP513-54N", ALC255_FIXUP_ACER_MIC_NO_PRESENCE),
SND_PCI_QUIRK(0x1025, 0x142b, "Acer Swift SF314-42", ALC255_FIXUP_ACER_MIC_NO_PRESENCE),
SND_PCI_QUIRK(0x1025, 0x1430, "Acer TravelMate B311R-31", ALC256_FIXUP_ACER_MIC_NO_PRESENCE),