Skip to content

Commit 4b43d05

Browse files
Armas Spanntiwai
authored andcommitted
ALSA: hda/realtek: enable headset mic of ASUS ROG Zephyrus G15(GA502) series with ALC289
This patch adds support for headset mic to the ASUS ROG Zephyrus G15(GA502) 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 3da87ec commit 4b43d05

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
@@ -6153,6 +6153,7 @@ enum {
61536153
ALC269VC_FIXUP_ACER_HEADSET_MIC,
61546154
ALC269VC_FIXUP_ACER_MIC_NO_PRESENCE,
61556155
ALC289_FIXUP_ASUS_G401,
6156+
ALC289_FIXUP_ASUS_GA502,
61566157
ALC256_FIXUP_ACER_MIC_NO_PRESENCE,
61576158
};
61586159

@@ -7370,6 +7371,13 @@ static const struct hda_fixup alc269_fixups[] = {
73707371
{ }
73717372
},
73727373
},
7374+
[ALC289_FIXUP_ASUS_GA502] = {
7375+
.type = HDA_FIXUP_PINS,
7376+
.v.pins = (const struct hda_pintbl[]) {
7377+
{ 0x19, 0x03a11020 }, /* headset mic with jack detect */
7378+
{ }
7379+
},
7380+
},
73737381
[ALC256_FIXUP_ACER_MIC_NO_PRESENCE] = {
73747382
.type = HDA_FIXUP_PINS,
73757383
.v.pins = (const struct hda_pintbl[]) {
@@ -7561,6 +7569,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
75617569
SND_PCI_QUIRK(0x1043, 0x1bbd, "ASUS Z550MA", ALC255_FIXUP_ASUS_MIC_NO_PRESENCE),
75627570
SND_PCI_QUIRK(0x1043, 0x1c23, "Asus X55U", ALC269_FIXUP_LIMIT_INT_MIC_BOOST),
75637571
SND_PCI_QUIRK(0x1043, 0x1ccd, "ASUS X555UB", ALC256_FIXUP_ASUS_MIC),
7572+
SND_PCI_QUIRK(0x1043, 0x1e11, "ASUS Zephyrus G15", ALC289_FIXUP_ASUS_GA502),
75647573
SND_PCI_QUIRK(0x1043, 0x1f11, "ASUS Zephyrus G14", ALC289_FIXUP_ASUS_G401),
75657574
SND_PCI_QUIRK(0x1043, 0x3030, "ASUS ZN270IE", ALC256_FIXUP_ASUS_AIO_GPIO2),
75667575
SND_PCI_QUIRK(0x1043, 0x831a, "ASUS P901", ALC269_FIXUP_STEREO_DMIC),

0 commit comments

Comments
 (0)