[alsa-devel] snd_hda_intel: coil whine noises after resume
Hello.
Some users included myself have noticed coil-whine-like noises coming through the headphones after the computer resumes from sleep. This noise is clearly associated to the laptop activity, e.g. when scrolling through a webpage or compiling something, the processor can be heard doing the work.
Interestingly, the coil whine that can be heard from the computer with naked ears (which is a common problem with this laptop) is also increased after resume.
The problem has been observed on a Dell XPS 13 9360 with an i7-8550U CPU by myself, as well as with an i5-8250U by a user in the Arch Linux forums https://bbs.archlinux.org/viewtopic.php?pid=1759588#p1759588. This user has also noticed that reloading the snd_hda_intel module fixes the issue.
Please let me know of any inormation that would be needed to debug this problem.
On Mon, 08 Jan 2018 00:07:55 +0100, Francisco G. wrote:
Hello.
Some users included myself have noticed coil-whine-like noises coming through the headphones after the computer resumes from sleep. This noise is clearly associated to the laptop activity, e.g. when scrolling through a webpage or compiling something, the processor can be heard doing the work.
Interestingly, the coil whine that can be heard from the computer with naked ears (which is a common problem with this laptop) is also increased after resume.
The problem has been observed on a Dell XPS 13 9360 with an i7-8550U CPU by myself, as well as with an i5-8250U by a user in the Arch Linux forums https://bbs.archlinux.org/viewtopic.php?pid=1759588#p1759588. This user has also noticed that reloading the snd_hda_intel module fixes the issue.
Please let me know of any inormation that would be needed to debug this problem.
A few XPS13/15 models have the workaround for such issues. They are applied per PCI SSID matching, so your model might be missing there? 1028:05fe, 1028:060a and 1028:060d are matched, so far. But it's for ALC662 variant, and the recent machine may have a different codec, too...
In anyway, the hardware detail information is missing. Please give the output of alsa-info.sh (run with --no-upload option).
Takashi
Thanks Takashi. Here's the output: https://pastebin.com/z9uFY8Zt
The SSID seems to be 1028:082a.
On Tue, Jan 9, 2018 at 5:36 AM, Takashi Iwai tiwai@suse.de wrote:
On Mon, 08 Jan 2018 00:07:55 +0100, Francisco G. wrote:
Hello.
Some users included myself have noticed coil-whine-like noises coming through the headphones after the computer resumes from sleep. This noise
is
clearly associated to the laptop activity, e.g. when scrolling through a webpage or compiling something, the processor can be heard doing the
work.
Interestingly, the coil whine that can be heard from the computer with naked ears (which is a common problem with this laptop) is also increased after resume.
The problem has been observed on a Dell XPS 13 9360 with an i7-8550U CPU
by
myself, as well as with an i5-8250U by a user in the Arch Linux forums https://bbs.archlinux.org/viewtopic.php?pid=1759588#p1759588. This
user
has also noticed that reloading the snd_hda_intel module fixes the issue.
Please let me know of any inormation that would be needed to debug this problem.
A few XPS13/15 models have the workaround for such issues. They are applied per PCI SSID matching, so your model might be missing there? 1028:05fe, 1028:060a and 1028:060d are matched, so far. But it's for ALC662 variant, and the recent machine may have a different codec, too...
In anyway, the hardware detail information is missing. Please give the output of alsa-info.sh (run with --no-upload option).
Takashi
On Tue, 09 Jan 2018 16:10:51 +0100, Francisco G. wrote:
Thanks Takashi. Here's the output: https://pastebin.com/z9uFY8Zt
The SSID seems to be 1028:082a.
OK, then could you try the patch below? It just reuses the existing quirk for another XPS13 variants.
thanks,
Takashi
--- diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 440972975bd4..93d2ce891db6 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -6295,6 +6295,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x1028, 0x075b, "Dell XPS 13 9360", ALC256_FIXUP_DELL_XPS_13_HEADPHONE_NOISE), SND_PCI_QUIRK(0x1028, 0x075d, "Dell AIO", ALC298_FIXUP_SPK_VOLUME), SND_PCI_QUIRK(0x1028, 0x0798, "Dell Inspiron 17 7000 Gaming", ALC256_FIXUP_DELL_INSPIRON_7559_SUBWOOFER), + SND_PCI_QUIRK(0x1028, 0x082a, "Dell XPS 13 9360", ALC256_FIXUP_DELL_XPS_13_HEADPHONE_NOISE), SND_PCI_QUIRK(0x1028, 0x164a, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x1028, 0x164b, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x103c, 0x1586, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC2),
I can confirm the patch fixes the issue.
On Tue, Jan 9, 2018 at 12:47 PM, Takashi Iwai tiwai@suse.de wrote:
On Tue, 09 Jan 2018 16:10:51 +0100, Francisco G. wrote:
Thanks Takashi. Here's the output: https://pastebin.com/z9uFY8Zt
The SSID seems to be 1028:082a.
OK, then could you try the patch below? It just reuses the existing quirk for another XPS13 variants.
thanks,
Takashi
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 440972975bd4..93d2ce891db6 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -6295,6 +6295,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x1028, 0x075b, "Dell XPS 13 9360", ALC256_FIXUP_DELL_XPS_13_HEADPHONE_NOISE), SND_PCI_QUIRK(0x1028, 0x075d, "Dell AIO", ALC298_FIXUP_SPK_VOLUME), SND_PCI_QUIRK(0x1028, 0x0798, "Dell Inspiron 17 7000 Gaming", ALC256_FIXUP_DELL_INSPIRON_7559_SUBWOOFER),
SND_PCI_QUIRK(0x1028, 0x082a, "Dell XPS 13 9360",
ALC256_FIXUP_DELL_XPS_13_HEADPHONE_NOISE), SND_PCI_QUIRK(0x1028, 0x164a, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x1028, 0x164b, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x103c, 0x1586, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC2) ,
On Wed, 10 Jan 2018 05:42:40 +0100, Francisco G. wrote:
I can confirm the patch fixes the issue.
Good to hear. Below is the official patch I'm going to queue.
Takashi
-- 8< -- From: Takashi Iwai tiwai@suse.de Subject: [PATCH] ALSA: hda - Apply headphone noise quirk for another Dell XPS 13 variant
There is another Dell XPS 13 variant (SSID 1028:082a) that requires the existing fixup for reducing the headphone noise. This patch adds the quirk entry for that.
Reported-and-tested-by: Francisco G. frangio.1@gmail.com Cc: stable@vger.kernel.org Signed-off-by: Takashi Iwai tiwai@suse.de --- sound/pci/hda/patch_realtek.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 8fd2d9c62c96..9aafc6c86132 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -6196,6 +6196,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x1028, 0x075b, "Dell XPS 13 9360", ALC256_FIXUP_DELL_XPS_13_HEADPHONE_NOISE), SND_PCI_QUIRK(0x1028, 0x075d, "Dell AIO", ALC298_FIXUP_SPK_VOLUME), SND_PCI_QUIRK(0x1028, 0x0798, "Dell Inspiron 17 7000 Gaming", ALC256_FIXUP_DELL_INSPIRON_7559_SUBWOOFER), + SND_PCI_QUIRK(0x1028, 0x082a, "Dell XPS 13 9360", ALC256_FIXUP_DELL_XPS_13_HEADPHONE_NOISE), SND_PCI_QUIRK(0x1028, 0x164a, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x1028, 0x164b, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x103c, 0x1586, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC2),
participants (2)
-
Francisco G.
-
Takashi Iwai