From 6bb2da01a9b7a9f3f0a7fe4366f9acbf1dc55cc5 Mon Sep 17 00:00:00 2001 From: Emanuele Palazzetti Date: Sat, 18 Apr 2026 19:12:44 +0200 Subject: [PATCH] fix: Add HDA quirk for ASUS ROG Flow Z13 GZ302EAC (KJP 2025) Cherry-pick upstream commit 59f68dc1d8df that adds the missing SND_PCI_QUIRK entry for subsystem ID 0x10431514. Without this, the CS35L41 amplifiers never initialize and internal speakers produce no audio. Upstream: https://git.kernel.org/torvalds/c/59f68dc1d8df --- kernel.spec | 2 ++ patch-5-z13-kjp-quirk.patch | 29 +++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 patch-5-z13-kjp-quirk.patch diff --git a/kernel.spec b/kernel.spec index a0a6db6ea..7231b4808 100644 --- a/kernel.spec +++ b/kernel.spec @@ -1146,6 +1146,7 @@ Patch1: patch-1-redhat.patch Patch2: patch-2-handheld.patch Patch3: patch-3-akmods.patch Patch4: patch-4-amdgpu-vrr-whitelist.patch +Patch5: patch-5-z13-kjp-quirk.patch %endif # empty final patch to facilitate testing of kernel patches @@ -2078,6 +2079,7 @@ ApplyOptionalPatch patch-1-redhat.patch ApplyOptionalPatch patch-2-handheld.patch ApplyOptionalPatch patch-3-akmods.patch ApplyOptionalPatch patch-4-amdgpu-vrr-whitelist.patch +ApplyOptionalPatch patch-5-z13-kjp-quirk.patch %endif ApplyOptionalPatch linux-kernel-test.patch diff --git a/patch-5-z13-kjp-quirk.patch b/patch-5-z13-kjp-quirk.patch new file mode 100644 index 000000000..ba1f171d6 --- /dev/null +++ b/patch-5-z13-kjp-quirk.patch @@ -0,0 +1,29 @@ +From 59f68dc1d8df3142cb58fd2568966a9bb7b0ed8a Mon Sep 17 00:00:00 2001 +From: Matthew Schwartz +Date: Thu, 13 Mar 2026 10:25:03 -0700 +Subject: ALSA: hda/realtek: Add quirk for ASUS ROG Flow Z13-KJP GZ302EAC + +Fixes lack of audio output on the ASUS ROG Flow Z13-KJP GZ302EAC model, +similar to the ASUS ROG Flow Z13 GZ302EA. + +Signed-off-by: Matthew Schwartz +Link: https://patch.msgid.link/20260313172503.285846-1-matthew.schwartz@linux.dev +Signed-off-by: Takashi Iwai +--- + sound/hda/codecs/realtek/alc269.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/sound/hda/codecs/realtek/alc269.c b/sound/hda/codecs/realtek/alc269.c +index 1cc063bf6c0b..59f68dc1d8df 100644 +--- a/sound/hda/codecs/realtek/alc269.c ++++ b/sound/hda/codecs/realtek/alc269.c +@@ -6718,6 +6718,7 @@ static const struct hda_quirk alc269_fixup_tbl[] = { + SND_PCI_QUIRK(0x1043, 0x14e3, "ASUS G513PI/PU/PV", ALC287_FIXUP_CS35L41_I2C_2), + SND_PCI_QUIRK(0x1043, 0x14f2, "ASUS VivoBook X515JA", ALC256_FIXUP_ASUS_MIC_NO_PRESENCE), + SND_PCI_QUIRK(0x1043, 0x1503, "ASUS G733PY/PZ/PZV/PYV", ALC287_FIXUP_CS35L41_I2C_2), ++ SND_PCI_QUIRK(0x1043, 0x1514, "ASUS ROG Flow Z13 GZ302EAC", ALC287_FIXUP_CS35L41_I2C_2), + SND_PCI_QUIRK(0x1043, 0x1517, "Asus Zenbook UX31A", ALC269VB_FIXUP_ASUS_ZENBOOK_UX31A), + SND_PCI_QUIRK(0x1043, 0x1533, "ASUS GV302XA/XJ/XQ/XU/XV/XI", ALC287_FIXUP_CS35L41_I2C_2), + SND_PCI_QUIRK(0x1043, 0x1573, "ASUS GZ301VV/VQ/VU/VJ/VA/VC/VE/VVC/VQC/VUC/VJC/VEC/VCC", ALC285_FIXUP_ASUS_HEADSET_MIC), +-- +2.52.0