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

Kailang
2025-01-17T07:49:04Z

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

Attached.

> -----Original Message-----
> From: Takashi Iwai <tiwai@suse.de>
> Sent: Thursday, January 16, 2025 10:27 PM
> To: Evgeny Kapun <abacabadabacaba@gmail.com>
> Cc: Kailang <kailang@realtek.com>; Takashi Iwai <tiwai@suse.de>; Linux
> Sound Mailing List <linux-sound@vger.kernel.org>; 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.
>
>
>
> On Sat, 11 Jan 2025 16:00:33 +0100,
> Evgeny Kapun wrote:
> >
> > On 12/24/24 04:54, Kailang wrote:
> > > Please test attach patch.
> >
> > This patch, when applied to kernel version 6.12.8, appears to fix the
> > issue. There are no distortions, and the left and the right channel
> > can be controlled independently.
>
> Good to hear.
>
> Kailang, care to submit a proper patch for merging?
>
>
> thanks,
>
> Takashi

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

From 6a262efe93eaa2466f3d4d10344ee55ce26256c2 Mon Sep 17 00:00:00 2001
From: Kailang Yang <kailang@realtek.com>
Date: Mon, 30 Dec 2024 14:44:01 +0800
Subject: [PATCH] ALSA: hda/realtek - Fixed headphone distorted sound on Acer Aspire A115-31 laptop

Sound played through headphones is distorted.

Link: https://lore.kernel.org/linux-sound/e142749b-7714-4733-9452-918fbe328c8f@gmail.com/
Signed-off-by: Kailang Yang <kailang@realtek.com>

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),