mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Oleg Antonyan via B4 Relay <devnull+oleg.b.antonyan.gmail.com@kernel.org>
To: Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
	 Stefan Binding <sbinding@opensource.cirrus.com>
Cc: Takashi Iwai <tiwai@suse.de>,
	linux-sound@vger.kernel.org,  linux-kernel@vger.kernel.org,
	stable@vger.kernel.org,
	 Oleg Antonyan <oleg.b.antonyan@gmail.com>
Subject: [PATCH] ALSA: hda/realtek: Fix headset mic on ASUS Zenbook S 13 UX5304MA
Date: Sun, 22 Nov 2026 14:18:37 +0100	[thread overview]
Message-ID: <20261122-ux5304ma-headset-mic-v1-1-80589ae749a8@gmail.com> (raw)

From: Oleg Antonyan <oleg.b.antonyan@gmail.com>

The ASUS Zenbook S 13 UX5304MA (1043:1c33) uses an ALC294 codec with
CS35L41 amplifiers over SPI. Its BIOS leaves pin 0x19 unconfigured, so
the headset mic on the combo jack does not work.

Use ALC294_FIXUP_ASUS_SPI_HEADSET_MIC like the UX3405MA and UX3402VA.
It configures the headset mic pin and chains to
ALC245_FIXUP_CS35L41_SPI_2 to keep the speakers working.

Tested on a UX5304MA: headset mic, internal mic and speakers work.

Fixes: 61cbc08fdb04 ("ALSA: hda/realtek: Add quirks for ASUS 2024 Zenbooks")
Cc: stable@vger.kernel.org
Signed-off-by: Oleg Antonyan <oleg.b.antonyan@gmail.com>
---
 sound/hda/codecs/realtek/alc269.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/hda/codecs/realtek/alc269.c b/sound/hda/codecs/realtek/alc269.c
index a6b5e8987294..50bbb5b4529c 100644
--- a/sound/hda/codecs/realtek/alc269.c
+++ b/sound/hda/codecs/realtek/alc269.c
@@ -8213,7 +8213,7 @@ static const struct hda_quirk alc269_fixup_tbl[] = {
 	SND_PCI_QUIRK(0x1043, 0x1bbd, "ASUS Z550MA", ALC255_FIXUP_ASUS_MIC_NO_PRESENCE),
 	SND_PCI_QUIRK(0x1043, 0x1c03, "ASUS UM3406HA", ALC294_FIXUP_ASUS_I2C_HEADSET_MIC),
 	SND_PCI_QUIRK(0x1043, 0x1c23, "Asus X55U", ALC269_FIXUP_LIMIT_INT_MIC_BOOST),
-	SND_PCI_QUIRK(0x1043, 0x1c33, "ASUS UX5304MA", ALC245_FIXUP_CS35L41_SPI_2),
+	SND_PCI_QUIRK(0x1043, 0x1c33, "ASUS UX5304MA", ALC294_FIXUP_ASUS_SPI_HEADSET_MIC),
 	SND_PCI_QUIRK(0x1043, 0x1c43, "ASUS UX8406MA", ALC245_FIXUP_CS35L41_SPI_2),
 	SND_PCI_QUIRK(0x1043, 0x1c62, "ASUS GU603", ALC289_FIXUP_ASUS_GA401),
 	SND_PCI_QUIRK(0x1043, 0x1c63, "ASUS GU605M", ALC285_FIXUP_ASUS_GU605_SPI_SPEAKER2_TO_DAC1),

---
base-commit: 0dfd513a15573ffa21710f77c2926c3cbb81a7ed
change-id: 20261122-ux5304ma-headset-mic-e2ee8664809f

Best regards,
--  
Oleg Antonyan <oleg.b.antonyan@gmail.com>



             reply	other threads:[~2026-11-22 13:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-22 13:18 Oleg Antonyan via B4 Relay [this message]
2026-11-23  9:05 ` Takashi Iwai

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=20261122-ux5304ma-headset-mic-v1-1-80589ae749a8@gmail.com \
    --to=devnull+oleg.b.antonyan.gmail.com@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=oleg.b.antonyan@gmail.com \
    --cc=perex@perex.cz \
    --cc=sbinding@opensource.cirrus.com \
    --cc=stable@vger.kernel.org \
    --cc=tiwai@suse.com \
    --cc=tiwai@suse.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®