Skip to content

Commit cbc05fd

Browse files
starnighttiwai
authored andcommitted
ALSA: hda/realtek: Enable headset MIC of Acer TravelMate X514-51T with ALC255
The Acer TravelMate X514-51T with ALC255 cannot detect the headset MIC until ALC255_FIXUP_ACER_HEADSET_MIC quirk applied. Although, the internal DMIC uses another module - snd_soc_skl as the driver. We still need the NID 0x1a in the quirk to enable the headset MIC. Signed-off-by: Jian-Hong Pan <[email protected]> Signed-off-by: Kailang Yang <[email protected]> Cc: <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
1 parent 7472946 commit cbc05fd

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

sound/pci/hda/patch_realtek.c

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5673,6 +5673,7 @@ enum {
56735673
ALC225_FIXUP_HEADSET_JACK,
56745674
ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE,
56755675
ALC285_FIXUP_LENOVO_PC_BEEP_IN_NOISE,
5676+
ALC255_FIXUP_ACER_HEADSET_MIC,
56765677
};
56775678

56785679
static const struct hda_fixup alc269_fixups[] = {
@@ -6639,6 +6640,16 @@ static const struct hda_fixup alc269_fixups[] = {
66396640
.chained = true,
66406641
.chain_id = ALC285_FIXUP_LENOVO_HEADPHONE_NOISE
66416642
},
6643+
[ALC255_FIXUP_ACER_HEADSET_MIC] = {
6644+
.type = HDA_FIXUP_PINS,
6645+
.v.pins = (const struct hda_pintbl[]) {
6646+
{ 0x19, 0x03a11130 },
6647+
{ 0x1a, 0x90a60140 }, /* use as internal mic */
6648+
{ }
6649+
},
6650+
.chained = true,
6651+
.chain_id = ALC255_FIXUP_HEADSET_MODE_NO_HP_MIC
6652+
},
66426653
};
66436654

66446655
static const struct snd_pci_quirk alc269_fixup_tbl[] = {
@@ -6658,6 +6669,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
66586669
SND_PCI_QUIRK(0x1025, 0x128f, "Acer Veriton Z6860G", ALC286_FIXUP_ACER_AIO_MIC_NO_PRESENCE),
66596670
SND_PCI_QUIRK(0x1025, 0x1290, "Acer Veriton Z4860G", ALC286_FIXUP_ACER_AIO_MIC_NO_PRESENCE),
66606671
SND_PCI_QUIRK(0x1025, 0x1291, "Acer Veriton Z4660G", ALC286_FIXUP_ACER_AIO_MIC_NO_PRESENCE),
6672+
SND_PCI_QUIRK(0x1025, 0x1330, "Acer TravelMate X514-51T", ALC255_FIXUP_ACER_HEADSET_MIC),
66616673
SND_PCI_QUIRK(0x1028, 0x0470, "Dell M101z", ALC269_FIXUP_DELL_M101Z),
66626674
SND_PCI_QUIRK(0x1028, 0x054b, "Dell XPS one 2710", ALC275_FIXUP_DELL_XPS),
66636675
SND_PCI_QUIRK(0x1028, 0x05bd, "Dell Latitude E6440", ALC292_FIXUP_DELL_E7X),

0 commit comments

Comments
 (0)