All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Luke D. Jones" <luke@ljones.dev>
To: tiwai@suse.com
Cc: linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org,
	perex@perex.cz, "Luke D. Jones" <luke@ljones.dev>
Subject: [PATCH v2 3/3] sound: realtek: Add quirk for ASUS GA503R laptop
Date: Thu, 15 Sep 2022 20:09:21 +1200	[thread overview]
Message-ID: <20220915080921.35563-4-luke@ljones.dev> (raw)
In-Reply-To: <20220915080921.35563-1-luke@ljones.dev>

The ASUS G15 2022 (GA503R) series laptop has the same node-to-DAC pairs
as early models and the G14, this includes bass speakers which are by
default mapped incorrectly to the 0x06 node.

Add a quirk to use the same DAC pairs as the G14.

Signed-off-by: Luke D. Jones <luke@ljones.dev>
---
 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 a44a55619144..52eb31f4166c 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -9332,6 +9332,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
 	SND_PCI_QUIRK(0x1043, 0x1e11, "ASUS Zephyrus G15", ALC289_FIXUP_ASUS_GA502),
 	SND_PCI_QUIRK(0x1043, 0x1e51, "ASUS Zephyrus M15", ALC294_FIXUP_ASUS_GU502_PINS),
 	SND_PCI_QUIRK(0x1043, 0x1e8e, "ASUS Zephyrus G15", ALC289_FIXUP_ASUS_GA401),
+	SND_PCI_QUIRK(0x1043, 0x1c52, "ASUS Zephyrus G15 2022", ALC289_FIXUP_ASUS_GA401),
 	SND_PCI_QUIRK(0x1043, 0x1f11, "ASUS Zephyrus G14", ALC289_FIXUP_ASUS_GA401),
 	SND_PCI_QUIRK(0x1043, 0x1d42, "ASUS Zephyrus G14 2022", ALC289_FIXUP_ASUS_GA401),
 	SND_PCI_QUIRK(0x1043, 0x1e5e, "ASUS ROG Strix G513", ALC294_FIXUP_ASUS_G513_PINS),
-- 
2.37.3


WARNING: multiple messages have this Message-ID (diff)
From: "Luke D. Jones" <luke@ljones.dev>
To: tiwai@suse.com
Cc: alsa-devel@alsa-project.org, "Luke D. Jones" <luke@ljones.dev>,
	linux-kernel@vger.kernel.org
Subject: [PATCH v2 3/3] sound: realtek: Add quirk for ASUS GA503R laptop
Date: Thu, 15 Sep 2022 20:09:21 +1200	[thread overview]
Message-ID: <20220915080921.35563-4-luke@ljones.dev> (raw)
In-Reply-To: <20220915080921.35563-1-luke@ljones.dev>

The ASUS G15 2022 (GA503R) series laptop has the same node-to-DAC pairs
as early models and the G14, this includes bass speakers which are by
default mapped incorrectly to the 0x06 node.

Add a quirk to use the same DAC pairs as the G14.

Signed-off-by: Luke D. Jones <luke@ljones.dev>
---
 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 a44a55619144..52eb31f4166c 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -9332,6 +9332,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
 	SND_PCI_QUIRK(0x1043, 0x1e11, "ASUS Zephyrus G15", ALC289_FIXUP_ASUS_GA502),
 	SND_PCI_QUIRK(0x1043, 0x1e51, "ASUS Zephyrus M15", ALC294_FIXUP_ASUS_GU502_PINS),
 	SND_PCI_QUIRK(0x1043, 0x1e8e, "ASUS Zephyrus G15", ALC289_FIXUP_ASUS_GA401),
+	SND_PCI_QUIRK(0x1043, 0x1c52, "ASUS Zephyrus G15 2022", ALC289_FIXUP_ASUS_GA401),
 	SND_PCI_QUIRK(0x1043, 0x1f11, "ASUS Zephyrus G14", ALC289_FIXUP_ASUS_GA401),
 	SND_PCI_QUIRK(0x1043, 0x1d42, "ASUS Zephyrus G14 2022", ALC289_FIXUP_ASUS_GA401),
 	SND_PCI_QUIRK(0x1043, 0x1e5e, "ASUS ROG Strix G513", ALC294_FIXUP_ASUS_G513_PINS),
-- 
2.37.3


  parent reply	other threads:[~2022-09-15  8:10 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-15  8:09 [PATCH v2 0/3] sound: realtek: add quirks for ASUS G513, G533Z, GA503R Luke D. Jones
2022-09-15  8:09 ` Luke D. Jones
2022-09-15  8:09 ` [PATCH v2 1/3] sound: realtek: Add pincfg for ASUS G513 HP jack Luke D. Jones
2022-09-15  8:09   ` Luke D. Jones
2022-09-15  8:09 ` [PATCH v2 2/3] sound: realtek: Add pincfg for ASUS G533Z " Luke D. Jones
2022-09-15  8:09   ` Luke D. Jones
2022-09-15  8:09 ` Luke D. Jones [this message]
2022-09-15  8:09   ` [PATCH v2 3/3] sound: realtek: Add quirk for ASUS GA503R laptop Luke D. Jones
2022-09-15 15:56 ` [PATCH v2 0/3] sound: realtek: add quirks for ASUS G513, G533Z, GA503R Takashi Iwai
2022-09-15 15:56   ` Takashi Iwai
2022-09-16  8:46   ` Luke Jones
2022-09-16  8:46     ` Luke Jones
2022-09-18 22:18   ` Luke Jones
2022-09-18 22:18     ` Luke Jones

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=20220915080921.35563-4-luke@ljones.dev \
    --to=luke@ljones.dev \
    --cc=alsa-devel@alsa-project.org \
    --cc=linux-kernel@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.