add one Advantech SSID in the ALC886
Hi Alsa-devel ML:
Can you help me add some source code to patch_realtek.c?
Add one Advantech SSID in the alc886.
Best regards
Pshou
From:PeiSen Hou <[email protected]> Subject:ALSA:hda/realtek:modify EAPD in the ALC886
Modify 0x20 index 7 bit 5 to 1, make the 0x15 EAPD the same as 0x14.
Signed-off-by PeiSen Hou <[email protected]>
sound/pci/hda/patch_realtek.c +11 -0
@@ -1905,6 +1905,7 @@ enum {ALC889_FIXUP_FRONT_HP_NO_PRESENCE ,ALC889_FIXUP_VAIO_TT ,ALC888_FIXUP_EEE1601 , +ALC886_FIXUP_EAPD ,ALC882_FIXUP_EAPD ,ALC883_FIXUP_EAPD , ALC883_FIXUP_ACER_EAPD,
@@ -2238,6 +2239,15 @@ static const struct hda_fixup alc882_fixups[] = { { } } }, + [ALC886_FIXUP_EAPD] = { + .type = HDA_FIXUP_VERBS, + .v.verbs = (const struct hda_verb[]) { + /* change to EAPD mode */ + { 0x20, AC_VERB_SET_COEF_INDEX, 0x07 }, + { 0x20, AC_VERB_SET_PROC_COEF, 0x0068 }, + { } + } + }, [ALC882_FIXUP_EAPD] = { .type = HDA_FIXUP_VERBS, .v.verbs = (const struct hda_verb[]) {
@@ -2510,6 +2520,7 @@ static const struct snd_pci_quirk alc882_fixup_tbl[] = {SND_PCI_QUIRK (0x106b ,0x4a00 ,"Macbook 5,2" ,ALC889_FIXUP_MBA11_VREF ),SND_PCI_QUIRK (0x1071 ,0x8258 ,"Evesham Voyaeger" ,ALC882_FIXUP_EAPD ), +SND_PCI_QUIRK (0x13fe ,0x1009 ,"Advantech MIT-W101" ,ALC886_FIXUP_EAPD ),SND_PCI_QUIRK (0x1458 ,0xa002 ,"Gigabyte EP45-DS3/Z87X-UD3H" ,ALC889_FIXUP_FRONT_HP_NO_PRESENCE ),SND_PCI_QUIRK (0x1458 ,0xa0b8 ,"Gigabyte AZ370-Gaming" ,ALC1220_FIXUP_GB_DUAL_CODECS ), SND_PCI_QUIRK(0x1458, 0xa0cd, "Gigabyte X570 Aorus Master", ALC1220_FIXUP_CLEVO_P950),
Takashi Iwai
AppliedQuoted 10 lines · Pshou
Hi Alsa-devel ML:
Can you help me add some source code to
patch_realtek.c?Add one Advantech SSID in the alc886.
Best regards
Pshou
Thanks, applied now.
Takashi