]> www.infradead.org Git - users/hch/misc.git/commitdiff
ALSA: hda/realtek: Add quirk for ASUS ROG Zephyrus Duo
authorAdam Holliday <dochollidayxx@gmail.com>
Tue, 30 Sep 2025 15:09:14 +0000 (11:09 -0400)
committerTakashi Iwai <tiwai@suse.de>
Sat, 4 Oct 2025 13:46:48 +0000 (15:46 +0200)
The ASUS ROG Zephyrus Duo 15 SE (GX551QS) with ALC 289 codec requires specific
pin configuration for proper volume control. Without this quirk, volume
adjustments produce a muffled sound effect as only certain channels attenuate,
leaving bass frequency at full volume.

Testing with hdajackretask confirms these pin tweaks fix the issue:
- Pin 0x17: Internal Speaker (LFE)
- Pin 0x1e: Internal Speaker

Signed-off-by: Adam Holliday <dochollidayxx@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/hda/codecs/realtek/alc269.c

index 3c42f66fe00055ff6c7fad6fe07238e02954808f..214eb9df6ef82e1a43fb283b99cabb0d5c35738d 100644 (file)
@@ -3735,6 +3735,7 @@ enum {
        ALC285_FIXUP_ASUS_GA605K_HEADSET_MIC,
        ALC285_FIXUP_ASUS_GA605K_I2C_SPEAKER2_TO_DAC1,
        ALC269_FIXUP_POSITIVO_P15X_HEADSET_MIC,
+       ALC289_FIXUP_ASUS_ZEPHYRUS_DUAL_SPK,
 };
 
 /* A special fixup for Lenovo C940 and Yoga Duet 7;
@@ -6164,6 +6165,14 @@ static const struct hda_fixup alc269_fixups[] = {
                .chained = true,
                .chain_id = ALC269VC_FIXUP_ACER_MIC_NO_PRESENCE,
        },
+       [ALC289_FIXUP_ASUS_ZEPHYRUS_DUAL_SPK] = {
+               .type = HDA_FIXUP_PINS,
+               .v.pins = (const struct hda_pintbl[]) {
+                       { 0x17, 0x90170151 }, /* Internal Speaker LFE */
+                       { 0x1e, 0x90170150 }, /* Internal Speaker */
+                       { }
+               },
+       }
 };
 
 static const struct hda_quirk alc269_fixup_tbl[] = {
@@ -6718,6 +6727,7 @@ static const struct hda_quirk alc269_fixup_tbl[] = {
        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),
+       SND_PCI_QUIRK(0x1043, 0x1652, "ASUS ROG Zephyrus Do 15 SE", ALC289_FIXUP_ASUS_ZEPHYRUS_DUAL_SPK),
        SND_PCI_QUIRK(0x1043, 0x1662, "ASUS GV301QH", ALC294_FIXUP_ASUS_DUAL_SPK),
        SND_PCI_QUIRK(0x1043, 0x1663, "ASUS GU603ZI/ZJ/ZQ/ZU/ZV", ALC285_FIXUP_ASUS_HEADSET_MIC),
        SND_PCI_QUIRK(0x1043, 0x1683, "ASUS UM3402YAR", ALC287_FIXUP_CS35L41_I2C_2),