From: Hsinyi Chien <suzu1dev@gmail.com>
To: tiwai@suse.com, perex@perex.cz
Cc: linux-sound@vger.kernel.org, Hsinyi Chien <suzu1dev@gmail.com>
Subject: [PATCH v2 2/2] ALSA: hda/realtek: Fix headphone jack pop on ASUS GU605C
Date: Sun, 6 Dec 2026 05:38:40 +0800 [thread overview]
Message-ID: <20261205213840.62481-3-suzu1dev@gmail.com> (raw)
In-Reply-To: <20261205213840.62481-1-suzu1dev@gmail.com>
On the ASUS ROG Zephyrus G16 GU605CX (ALC285, SSID 1043:1034),
powered speakers on the 3.5 mm jack pop loudly when the codec
runtime-suspends after playback stops. The same pop occurs at
shutdown.
The pop comes from the pin control write in alc225_shutup():
- With the "shutup = no" hint, the codec still enters D3 and the
controller still runtime-suspends, and there is no pop.
- With power_save_controller=N and the default shutup, the pop
remains.
- Replaying the alc225_shutup() verbs through hwdep with the codec
kept in D0 pops, unless SET_PIN_WIDGET_CONTROL 0 on the
headphone pin 0x21 is left out.
Set no_shutup_pins for this SSID with a new fixup that chains to the
existing one. The existing fixup is shared with the GU605M, H7606W
and GA605W entries. Those models were not tested, so it stays
unchanged.
With both patches in a 7.3.4 build of snd-hda-codec-alc269, the
speakers no longer pop on runtime suspend (0 of 2 runs, against 2 of
2 without the patches), and the hda trace shows no pin control write
at suspend. Headphones on the same jack did not pop either (0 of 2
runs, patched module only). One shutdown with the patched module did
not pop.
The GU605CW has the same SSID and was not tested.
An LLM coding assistant (Anthropic Claude) wrote the test scripts
that narrowed this down, read the hda traces, and drafted this patch
and changelog. All listening tests were done by me on the hardware.
Link: https://github.com/omacom/omarchy/pull/10498
Signed-off-by: Hsinyi Chien <suzu1dev@gmail.com>
---
sound/hda/codecs/realtek/alc269.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/sound/hda/codecs/realtek/alc269.c b/sound/hda/codecs/realtek/alc269.c
index 1bf5c78ac..5a9896677 100644
--- a/sound/hda/codecs/realtek/alc269.c
+++ b/sound/hda/codecs/realtek/alc269.c
@@ -4537,6 +4537,7 @@ enum {
ALC285_FIXUP_ASUS_GA403U_I2C_SPEAKER2_TO_DAC1,
ALC285_FIXUP_ASUS_GU605_SPI_2_HEADSET_MIC,
ALC285_FIXUP_ASUS_GU605_SPI_SPEAKER2_TO_DAC1,
+ ALC285_FIXUP_ASUS_GU605C_NO_SHUTUP,
ALC287_FIXUP_LENOVO_THKPAD_WH_ALC1318,
ALC256_FIXUP_CHROME_BOOK,
ALC245_FIXUP_CLEVO_NOISY_MIC,
@@ -7265,6 +7266,12 @@ static const struct hda_fixup alc269_fixups[] = {
{ }
},
},
+ [ALC285_FIXUP_ASUS_GU605C_NO_SHUTUP] = {
+ .type = HDA_FIXUP_FUNC,
+ .v.func = alc_fixup_no_shutup,
+ .chained = true,
+ .chain_id = ALC285_FIXUP_ASUS_GU605_SPI_SPEAKER2_TO_DAC1,
+ },
[ALC285_FIXUP_ASUS_GA403U_I2C_SPEAKER2_TO_DAC1] = {
.type = HDA_FIXUP_FUNC,
.v.func = alc285_fixup_speaker2_to_dac1,
@@ -8180,7 +8187,7 @@ static const struct hda_quirk alc269_fixup_tbl[] = {
SND_PCI_QUIRK(0x103c, 0x8f95, "HP ZBook 8 G2a 16", ALC245_FIXUP_HP_TAS2781_I2C_MUTE_LED_INVERTED),
SND_PCI_QUIRK(0x1043, 0x1024, "ASUS Zephyrus G14 2025", ALC285_FIXUP_ASUS_GA403U_HEADSET_MIC),
SND_PCI_QUIRK(0x1043, 0x1032, "ASUS VivoBook X513EA", ALC256_FIXUP_ASUS_MIC_NO_PRESENCE),
- SND_PCI_QUIRK(0x1043, 0x1034, "ASUS GU605C", ALC285_FIXUP_ASUS_GU605_SPI_SPEAKER2_TO_DAC1),
+ SND_PCI_QUIRK(0x1043, 0x1034, "ASUS GU605C", ALC285_FIXUP_ASUS_GU605C_NO_SHUTUP),
SND_PCI_QUIRK(0x103c, 0x900c, "HP ZBook Ultra G1a 14", ALC285_FIXUP_HP_GPIO_LED),
SND_PCI_QUIRK(0x1043, 0x103e, "ASUS X540SA", ALC256_FIXUP_ASUS_MIC),
SND_PCI_QUIRK(0x1043, 0x103f, "ASUS TX300", ALC282_FIXUP_ASUS_TX300),
--
2.56.1
prev parent reply other threads:[~2026-12-05 21:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-05 21:38 [PATCH v2 0/2] ALSA: hda/realtek: Fix headphone jack pop on ASUS GU605C Hsinyi Chien
2026-12-05 21:38 ` [PATCH v2 1/2] ALSA: hda/realtek: Honor no_shutup_pins in alc225_shutup() Hsinyi Chien
2026-12-05 21:38 ` Hsinyi Chien [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261205213840.62481-3-suzu1dev@gmail.com \
--to=suzu1dev@gmail.com \
--cc=linux-sound@vger.kernel.org \
--cc=perex@perex.cz \
--cc=tiwai@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.