Skip to content

Commit 667a8f7

Browse files
starnighttiwai
authored andcommitted
ALSA: hda/realtek: Enable headset MIC of Acer AIO with ALC286
Some Acer AIO desktops like Veriton Z6860G, Z4860G and Z4660G cannot record sound from headset MIC. This patch adds the ALC286_FIXUP_ACER_AIO_HEADSET_MIC quirk to fix this issue. Fixes: 9f8aefe ("ALSA: hda/realtek: Fix mic issue on Acer AIO Veriton Z4660G") Fixes: b72f936 ("ALSA: hda/realtek: Fix mic issue on Acer AIO Veriton Z4860G/Z6860G") Signed-off-by: Jian-Hong Pan <jian-hong@endlessm.com> Reviewed-by: Kailang Yang <kailang@realtek.com> Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent b5a236c commit 667a8f7

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

sound/pci/hda/patch_realtek.c

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5687,6 +5687,7 @@ enum {
56875687
ALC225_FIXUP_DELL_WYSE_AIO_MIC_NO_PRESENCE,
56885688
ALC225_FIXUP_WYSE_AUTO_MUTE,
56895689
ALC225_FIXUP_WYSE_DISABLE_MIC_VREF,
5690+
ALC286_FIXUP_ACER_AIO_HEADSET_MIC,
56905691
};
56915692

56925693
static const struct hda_fixup alc269_fixups[] = {
@@ -6685,6 +6686,16 @@ static const struct hda_fixup alc269_fixups[] = {
66856686
.chained = true,
66866687
.chain_id = ALC269_FIXUP_HEADSET_MODE_NO_HP_MIC
66876688
},
6689+
[ALC286_FIXUP_ACER_AIO_HEADSET_MIC] = {
6690+
.type = HDA_FIXUP_VERBS,
6691+
.v.verbs = (const struct hda_verb[]) {
6692+
{ 0x20, AC_VERB_SET_COEF_INDEX, 0x4f },
6693+
{ 0x20, AC_VERB_SET_PROC_COEF, 0x5029 },
6694+
{ }
6695+
},
6696+
.chained = true,
6697+
.chain_id = ALC286_FIXUP_ACER_AIO_MIC_NO_PRESENCE
6698+
},
66886699
};
66896700

66906701
static const struct snd_pci_quirk alc269_fixup_tbl[] = {
@@ -6701,9 +6712,9 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
67016712
SND_PCI_QUIRK(0x1025, 0x079b, "Acer Aspire V5-573G", ALC282_FIXUP_ASPIRE_V5_PINS),
67026713
SND_PCI_QUIRK(0x1025, 0x102b, "Acer Aspire C24-860", ALC286_FIXUP_ACER_AIO_MIC_NO_PRESENCE),
67036714
SND_PCI_QUIRK(0x1025, 0x106d, "Acer Cloudbook 14", ALC283_FIXUP_CHROME_BOOK),
6704-
SND_PCI_QUIRK(0x1025, 0x128f, "Acer Veriton Z6860G", ALC286_FIXUP_ACER_AIO_MIC_NO_PRESENCE),
6705-
SND_PCI_QUIRK(0x1025, 0x1290, "Acer Veriton Z4860G", ALC286_FIXUP_ACER_AIO_MIC_NO_PRESENCE),
6706-
SND_PCI_QUIRK(0x1025, 0x1291, "Acer Veriton Z4660G", ALC286_FIXUP_ACER_AIO_MIC_NO_PRESENCE),
6715+
SND_PCI_QUIRK(0x1025, 0x128f, "Acer Veriton Z6860G", ALC286_FIXUP_ACER_AIO_HEADSET_MIC),
6716+
SND_PCI_QUIRK(0x1025, 0x1290, "Acer Veriton Z4860G", ALC286_FIXUP_ACER_AIO_HEADSET_MIC),
6717+
SND_PCI_QUIRK(0x1025, 0x1291, "Acer Veriton Z4660G", ALC286_FIXUP_ACER_AIO_HEADSET_MIC),
67076718
SND_PCI_QUIRK(0x1025, 0x1330, "Acer TravelMate X514-51T", ALC255_FIXUP_ACER_HEADSET_MIC),
67086719
SND_PCI_QUIRK(0x1028, 0x0470, "Dell M101z", ALC269_FIXUP_DELL_M101Z),
67096720
SND_PCI_QUIRK(0x1028, 0x054b, "Dell XPS one 2710", ALC275_FIXUP_DELL_XPS),

0 commit comments

Comments
 (0)