]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ALSA: hda/realtek - Comprehensive model list for ALC662 & co
authorTakashi Iwai <tiwai@suse.de>
Tue, 26 Jun 2018 05:42:40 +0000 (07:42 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 26 Jun 2018 16:07:28 +0000 (18:07 +0200)
ALC662 and others have far more fixup entries than the model table.
Let's add more model string entries so that user can test / debug
without compiling kernels at each time.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Documentation/sound/hd-audio/models.rst
sound/pci/hda/patch_realtek.c

index 7c2d37571af080ef3e2a46da12d41971357ff6cf..f2f8402ff899f82e906c482068d5085f0e108204 100644 (file)
@@ -87,8 +87,14 @@ alc700-ref
 
 ALC66x/67x/892
 ==============
+aspire
+    Subwoofer pin fixup for Aspire laptops
+ideapad
+    Subwoofer pin fixup for Ideapad laptops
 mario
     Chromebook mario model fixup
+hp-rp5800
+    Headphone pin fixup for HP RP5800
 asus-mode1
     ASUS
 asus-mode2
@@ -105,10 +111,40 @@ asus-mode7
     ASUS
 asus-mode8
     ASUS
+zotac-z68
+    Front HP fixup for Zotac Z68
 inv-dmic
     Inverted internal mic workaround
+alc662-headset-multi
+    Dell headset jack, which can also be used as mic-in (ALC662)
 dell-headset-multi
     Headset jack, which can also be used as mic-in
+alc662-headset
+    Headset mode support on ALC662
+alc668-headset
+    Headset mode support on ALC668
+bass16
+    Bass speaker fixup on pin 0x16
+bass1a
+    Bass speaker fixup on pin 0x1a
+automute
+    Auto-mute fixups for ALC668
+dell-xps13
+    Dell XPS13 fixups
+asus-nx50
+    ASUS Nx50 fixups
+asus-nx51
+    ASUS Nx51 fixups
+alc891-headset
+    Headset mode support on ALC891
+alc891-headset-multi
+    Dell headset jack, which can also be used as mic-in (ALC891)
+acer-veriton
+    Acer Veriton speaker pin fixup
+asrock-mobo
+    Fix invalid 0x15 / 0x16 pins
+usi-headset
+    Headset support on USI machines
 dual-codecs
     Lenovo laptops with dual codecs
 
index c93e09f9c109fd98144620f7650071a2034414f4..c7c9b47c2d5d38e35f7420404ef4c2e69711d826 100644 (file)
@@ -8012,7 +8012,10 @@ static const struct snd_pci_quirk alc662_fixup_tbl[] = {
 };
 
 static const struct hda_model_fixup alc662_fixup_models[] = {
+       {.id = ALC662_FIXUP_ASPIRE, .name = "aspire"},
+       {.id = ALC662_FIXUP_IDEAPAD, .name = "ideapad"},
        {.id = ALC272_FIXUP_MARIO, .name = "mario"},
+       {.id = ALC662_FIXUP_HP_RP5800, .name = "hp-rp5800"},
        {.id = ALC662_FIXUP_ASUS_MODE1, .name = "asus-mode1"},
        {.id = ALC662_FIXUP_ASUS_MODE2, .name = "asus-mode2"},
        {.id = ALC662_FIXUP_ASUS_MODE3, .name = "asus-mode3"},
@@ -8021,8 +8024,23 @@ static const struct hda_model_fixup alc662_fixup_models[] = {
        {.id = ALC662_FIXUP_ASUS_MODE6, .name = "asus-mode6"},
        {.id = ALC662_FIXUP_ASUS_MODE7, .name = "asus-mode7"},
        {.id = ALC662_FIXUP_ASUS_MODE8, .name = "asus-mode8"},
+       {.id = ALC662_FIXUP_ZOTAC_Z68, .name = "zotac-z68"},
        {.id = ALC662_FIXUP_INV_DMIC, .name = "inv-dmic"},
+       {.id = ALC662_FIXUP_DELL_MIC_NO_PRESENCE, .name = "alc662-headset-multi"},
        {.id = ALC668_FIXUP_DELL_MIC_NO_PRESENCE, .name = "dell-headset-multi"},
+       {.id = ALC662_FIXUP_HEADSET_MODE, .name = "alc662-headset"},
+       {.id = ALC668_FIXUP_HEADSET_MODE, .name = "alc668-headset"},
+       {.id = ALC662_FIXUP_BASS_16, .name = "bass16"},
+       {.id = ALC662_FIXUP_BASS_1A, .name = "bass1a"},
+       {.id = ALC668_FIXUP_AUTO_MUTE, .name = "automute"},
+       {.id = ALC668_FIXUP_DELL_XPS13, .name = "dell-xps13"},
+       {.id = ALC662_FIXUP_ASUS_Nx50, .name = "asus-nx50"},
+       {.id = ALC668_FIXUP_ASUS_Nx51, .name = "asus-nx51"},
+       {.id = ALC891_FIXUP_HEADSET_MODE, .name = "alc891-headset"},
+       {.id = ALC891_FIXUP_DELL_MIC_NO_PRESENCE, .name = "alc891-headset-multi"},
+       {.id = ALC662_FIXUP_ACER_VERITON, .name = "acer-veriton"},
+       {.id = ALC892_FIXUP_ASROCK_MOBO, .name = "asrock-mobo"},
+       {.id = ALC662_FIXUP_USI_HEADSET_MODE, .name = "usi-headset"},
        {.id = ALC662_FIXUP_LENOVO_MULTI_CODECS, .name = "dual-codecs"},
        {}
 };