Skip to content

Commit ff53664

Browse files
Armas Spanntiwai
authored andcommitted
ALSA: hda/realtek: enable headset mic of ASUS ROG Zephyrus G14(G401) series with ALC289
This patch adds support for headset mic to the ASUS ROG Zephyrus G14(GA401) notebook series by adding the corresponding vendor/pci_device id, as well as adding a new fixup for the used realtek ALC289. The fixup stets the correct pin to get the headset mic correctly recognized on audio-jack. Signed-off-by: Armas Spann <[email protected]> Cc: <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent ef9ddb9 commit ff53664

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

sound/pci/hda/patch_realtek.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6152,6 +6152,7 @@ enum {
61526152
ALC269VC_FIXUP_ACER_VCOPPERBOX_PINS,
61536153
ALC269VC_FIXUP_ACER_HEADSET_MIC,
61546154
ALC269VC_FIXUP_ACER_MIC_NO_PRESENCE,
6155+
ALC289_FIXUP_ASUS_G401,
61556156
};
61566157

61576158
static const struct hda_fixup alc269_fixups[] = {
@@ -7359,6 +7360,13 @@ static const struct hda_fixup alc269_fixups[] = {
73597360
.chained = true,
73607361
.chain_id = ALC269_FIXUP_HEADSET_MIC
73617362
},
7363+
[ALC289_FIXUP_ASUS_G401] = {
7364+
.type = HDA_FIXUP_PINS,
7365+
.v.pins = (const struct hda_pintbl[]) {
7366+
{ 0x19, 0x03a11020 }, /* headset mic with jack detect */
7367+
{ }
7368+
},
7369+
},
73627370
};
73637371

73647372
static const struct snd_pci_quirk alc269_fixup_tbl[] = {
@@ -7539,6 +7547,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
75397547
SND_PCI_QUIRK(0x1043, 0x1bbd, "ASUS Z550MA", ALC255_FIXUP_ASUS_MIC_NO_PRESENCE),
75407548
SND_PCI_QUIRK(0x1043, 0x1c23, "Asus X55U", ALC269_FIXUP_LIMIT_INT_MIC_BOOST),
75417549
SND_PCI_QUIRK(0x1043, 0x1ccd, "ASUS X555UB", ALC256_FIXUP_ASUS_MIC),
7550+
SND_PCI_QUIRK(0x1043, 0x1f11, "ASUS Zephyrus G14", ALC289_FIXUP_ASUS_G401),
75427551
SND_PCI_QUIRK(0x1043, 0x3030, "ASUS ZN270IE", ALC256_FIXUP_ASUS_AIO_GPIO2),
75437552
SND_PCI_QUIRK(0x1043, 0x831a, "ASUS P901", ALC269_FIXUP_STEREO_DMIC),
75447553
SND_PCI_QUIRK(0x1043, 0x834a, "ASUS S101", ALC269_FIXUP_STEREO_DMIC),

0 commit comments

Comments
 (0)