Skip to content

Commit 91062e1

Browse files
sirreidlostiwai
authored andcommitted
ALSA: hda/realtek: Fix headset mic on ASUS Zenbook 14 UX3405MA
The ASUS Zenbook 14 UX3405MA uses an ALC294 codec with CS35L41 amplifiers over SPI. The existing quirk for this model only configured the amplifiers, leaving the headset microphone on the combo jack non-functional. Introduce a new fixup that configures pin 0x19 as headset mic input and chains to ALC245_FIXUP_CS35L41_SPI_2 to preserve speaker functionality. Similar to the fix done for the UM3406HA in commit 018f659 ("ALSA: hda/realtek: Fix headset mic on ASUS Zenbook 14"). Signed-off-by: Erik Sanjaya <sirreidlos@gmail.com> Link: https://patch.msgid.link/20260217102112.20651-1-sirreidlos@gmail.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent 7bc0df8 commit 91062e1

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

sound/hda/codecs/realtek/alc269.c

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3886,6 +3886,7 @@ enum {
38863886
ALC294_FIXUP_ASUS_MIC,
38873887
ALC294_FIXUP_ASUS_HEADSET_MIC,
38883888
ALC294_FIXUP_ASUS_I2C_HEADSET_MIC,
3889+
ALC294_FIXUP_ASUS_SPI_HEADSET_MIC,
38893890
ALC294_FIXUP_ASUS_SPK,
38903891
ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE,
38913892
ALC285_FIXUP_LENOVO_PC_BEEP_IN_NOISE,
@@ -5236,6 +5237,15 @@ static const struct hda_fixup alc269_fixups[] = {
52365237
.chained = true,
52375238
.chain_id = ALC287_FIXUP_CS35L41_I2C_2
52385239
},
5240+
[ALC294_FIXUP_ASUS_SPI_HEADSET_MIC] = {
5241+
.type = HDA_FIXUP_PINS,
5242+
.v.pins = (const struct hda_pintbl[]) {
5243+
{ 0x19, 0x04a11020 }, /* use as headset mic */
5244+
{ }
5245+
},
5246+
.chained = true,
5247+
.chain_id = ALC245_FIXUP_CS35L41_SPI_2
5248+
},
52395249
[ALC294_FIXUP_ASUS_SPK] = {
52405250
.type = HDA_FIXUP_VERBS,
52415251
.v.verbs = (const struct hda_verb[]) {
@@ -7189,7 +7199,7 @@ static const struct hda_quirk alc269_fixup_tbl[] = {
71897199
SND_PCI_QUIRK(0x1043, 0x19ce, "ASUS B9450FA", ALC294_FIXUP_ASUS_HPE),
71907200
SND_PCI_QUIRK(0x1043, 0x19e1, "ASUS UX581LV", ALC295_FIXUP_ASUS_MIC_NO_PRESENCE),
71917201
SND_PCI_QUIRK(0x1043, 0x1a13, "Asus G73Jw", ALC269_FIXUP_ASUS_G73JW),
7192-
SND_PCI_QUIRK(0x1043, 0x1a63, "ASUS UX3405MA", ALC245_FIXUP_CS35L41_SPI_2),
7202+
SND_PCI_QUIRK(0x1043, 0x1a63, "ASUS UX3405MA", ALC294_FIXUP_ASUS_SPI_HEADSET_MIC),
71937203
SND_PCI_QUIRK(0x1043, 0x1a83, "ASUS UM5302LA", ALC294_FIXUP_CS35L41_I2C_2),
71947204
SND_PCI_QUIRK(0x1043, 0x1a8e, "ASUS G712LWS", ALC294_FIXUP_LENOVO_MIC_LOCATION),
71957205
SND_PCI_QUIRK(0x1043, 0x1a8f, "ASUS UX582ZS", ALC245_FIXUP_CS35L41_SPI_2),

0 commit comments

Comments
 (0)