diff options
author | dragonn | 2020-06-06 17:43:05 +0200 |
---|---|---|
committer | dragonn | 2020-06-06 17:43:05 +0200 |
commit | e86f1d835867b5c7778a5714c94dd30fcd8b54d6 (patch) | |
tree | 8c6952d4a9c246eb5f92e4e755000db2b408ca5c /snd-hda_realtek.patch | |
download | aur-e86f1d835867b5c7778a5714c94dd30fcd8b54d6.tar.gz |
initial comit
Diffstat (limited to 'snd-hda_realtek.patch')
-rw-r--r-- | snd-hda_realtek.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/snd-hda_realtek.patch b/snd-hda_realtek.patch new file mode 100644 index 000000000000..ed608c2c24c4 --- /dev/null +++ b/snd-hda_realtek.patch @@ -0,0 +1,33 @@ +--- a/sound/pci/hda/patch_realtek.c ++++ b/sound/pci/hda/patch_realtek.c +@@ -6101,6 +6101,7 @@ + ALC236_FIXUP_HP_MUTE_LED, + ALC298_FIXUP_SAMSUNG_HEADPHONE_VERY_QUIET, + ALC295_FIXUP_ASUS_MIC_NO_PRESENCE, ++ ALC289_FIXUP_ASUS_G401, + }; + + static const struct hda_fixup alc269_fixups[] = { +@@ -7273,6 +7274,14 @@ + .chained = true, + .chain_id = ALC269_FIXUP_HEADSET_MODE + }, ++ [ALC289_FIXUP_ASUS_G401] = { ++ .type = HDA_FIXUP_PINS, ++ .v.pins = (const struct hda_pintbl[]) { ++ { 0x17, 0x99130111 }, /* subwoofer */ ++ { 0x19, 0x03a11020 }, /* headset mic with jack detect */ ++ { } ++ }, ++ }, + }; + + static const struct snd_pci_quirk alc269_fixup_tbl[] = { +@@ -7448,6 +7457,7 @@ + SND_PCI_QUIRK(0x1043, 0x1bbd, "ASUS Z550MA", ALC255_FIXUP_ASUS_MIC_NO_PRESENCE), + SND_PCI_QUIRK(0x1043, 0x1c23, "Asus X55U", ALC269_FIXUP_LIMIT_INT_MIC_BOOST), + SND_PCI_QUIRK(0x1043, 0x1ccd, "ASUS X555UB", ALC256_FIXUP_ASUS_MIC), ++ SND_PCI_QUIRK(0x1043, 0x1f11, "ASUS Zephyrus G14", ALC289_FIXUP_ASUS_G401), + SND_PCI_QUIRK(0x1043, 0x3030, "ASUS ZN270IE", ALC256_FIXUP_ASUS_AIO_GPIO2), + SND_PCI_QUIRK(0x1043, 0x831a, "ASUS P901", ALC269_FIXUP_STEREO_DMIC), + SND_PCI_QUIRK(0x1043, 0x834a, "ASUS S101", ALC269_FIXUP_STEREO_DMIC), |