Skip to content

Commit 4e05110

Browse files
starnighttiwai
authored andcommitted
ALSA: hda/realtek: Enable audio jacks of ASUS UX533FD with ALC294
The ASUS UX533FD with ALC294 cannot detect the headset MIC and outputs through the internal speaker and the headphone until ALC294_FIXUP_ASUS_SPK and ALC294_FIXUP_ASUS_HEADSET_MIC quirk applied. Signed-off-by: Daniel Drake <drake@endlessm.com> Signed-off-by: Jian-Hong Pan <jian-hong@endlessm.com> Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent d8ae458 commit 4e05110

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

sound/pci/hda/patch_realtek.c

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5521,6 +5521,8 @@ enum {
55215521
ALC295_FIXUP_HP_AUTO_MUTE,
55225522
ALC286_FIXUP_ACER_AIO_MIC_NO_PRESENCE,
55235523
ALC294_FIXUP_ASUS_MIC,
5524+
ALC294_FIXUP_ASUS_HEADSET_MIC,
5525+
ALC294_FIXUP_ASUS_SPK,
55245526
};
55255527

55265528
static const struct hda_fixup alc269_fixups[] = {
@@ -6419,6 +6421,26 @@ static const struct hda_fixup alc269_fixups[] = {
64196421
.chained = true,
64206422
.chain_id = ALC269_FIXUP_HEADSET_MODE_NO_HP_MIC
64216423
},
6424+
[ALC294_FIXUP_ASUS_HEADSET_MIC] = {
6425+
.type = HDA_FIXUP_PINS,
6426+
.v.pins = (const struct hda_pintbl[]) {
6427+
{ 0x19, 0x01a1113c }, /* use as headset mic, without its own jack detect */
6428+
{ }
6429+
},
6430+
.chained = true,
6431+
.chain_id = ALC269_FIXUP_HEADSET_MODE_NO_HP_MIC
6432+
},
6433+
[ALC294_FIXUP_ASUS_SPK] = {
6434+
.type = HDA_FIXUP_VERBS,
6435+
.v.verbs = (const struct hda_verb[]) {
6436+
/* Set EAPD high */
6437+
{ 0x20, AC_VERB_SET_COEF_INDEX, 0x40 },
6438+
{ 0x20, AC_VERB_SET_PROC_COEF, 0x8800 },
6439+
{ }
6440+
},
6441+
.chained = true,
6442+
.chain_id = ALC294_FIXUP_ASUS_HEADSET_MIC
6443+
},
64226444
};
64236445

64246446
static const struct snd_pci_quirk alc269_fixup_tbl[] = {
@@ -6561,6 +6583,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
65616583
SND_PCI_QUIRK(0x1043, 0x12e0, "ASUS X541SA", ALC256_FIXUP_ASUS_MIC),
65626584
SND_PCI_QUIRK(0x1043, 0x13b0, "ASUS Z550SA", ALC256_FIXUP_ASUS_MIC),
65636585
SND_PCI_QUIRK(0x1043, 0x1427, "Asus Zenbook UX31E", ALC269VB_FIXUP_ASUS_ZENBOOK),
6586+
SND_PCI_QUIRK(0x1043, 0x14a1, "ASUS UX533FD", ALC294_FIXUP_ASUS_SPK),
65646587
SND_PCI_QUIRK(0x1043, 0x1517, "Asus Zenbook UX31A", ALC269VB_FIXUP_ASUS_ZENBOOK_UX31A),
65656588
SND_PCI_QUIRK(0x1043, 0x16e3, "ASUS UX50", ALC269_FIXUP_STEREO_DMIC),
65666589
SND_PCI_QUIRK(0x1043, 0x1a13, "Asus G73Jw", ALC269_FIXUP_ASUS_G73JW),

0 commit comments

Comments
 (0)