Skip to content

Commit f50a121

Browse files
starnighttiwai
authored andcommitted
ALSA: hda/realtek: Enable headset mic of Acer TravelMate B311R-31 with ALC256
The Acer TravelMate B311R-31 laptop's audio (1025:1430) with ALC256 cannot detect the headset microphone until ALC256_FIXUP_ACER_MIC_NO_PRESENCE quirk maps the NID 0x19 as the headset mic pin. Signed-off-by: Jian-Hong Pan <[email protected]> Cc: <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent ff53664 commit f50a121

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

sound/pci/hda/patch_realtek.c

Lines changed: 11 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+
ALC256_FIXUP_ACER_MIC_NO_PRESENCE,
61566157
};
61576158

61586159
static const struct hda_fixup alc269_fixups[] = {
@@ -7367,6 +7368,15 @@ static const struct hda_fixup alc269_fixups[] = {
73677368
{ }
73687369
},
73697370
},
7371+
[ALC256_FIXUP_ACER_MIC_NO_PRESENCE] = {
7372+
.type = HDA_FIXUP_PINS,
7373+
.v.pins = (const struct hda_pintbl[]) {
7374+
{ 0x19, 0x02a11120 }, /* use as headset mic, without its own jack detect */
7375+
{ }
7376+
},
7377+
.chained = true,
7378+
.chain_id = ALC256_FIXUP_ASUS_HEADSET_MODE
7379+
},
73707380
};
73717381

73727382
static const struct snd_pci_quirk alc269_fixup_tbl[] = {
@@ -7395,6 +7405,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
73957405
SND_PCI_QUIRK(0x1025, 0x1308, "Acer Aspire Z24-890", ALC286_FIXUP_ACER_AIO_HEADSET_MIC),
73967406
SND_PCI_QUIRK(0x1025, 0x132a, "Acer TravelMate B114-21", ALC233_FIXUP_ACER_HEADSET_MIC),
73977407
SND_PCI_QUIRK(0x1025, 0x1330, "Acer TravelMate X514-51T", ALC255_FIXUP_ACER_HEADSET_MIC),
7408+
SND_PCI_QUIRK(0x1025, 0x1430, "Acer TravelMate B311R-31", ALC256_FIXUP_ACER_MIC_NO_PRESENCE),
73987409
SND_PCI_QUIRK(0x1028, 0x0470, "Dell M101z", ALC269_FIXUP_DELL_M101Z),
73997410
SND_PCI_QUIRK(0x1028, 0x054b, "Dell XPS one 2710", ALC275_FIXUP_DELL_XPS),
74007411
SND_PCI_QUIRK(0x1028, 0x05bd, "Dell Latitude E6440", ALC292_FIXUP_DELL_E7X),

0 commit comments

Comments
 (0)