Skip to content

Commit 5824ce8

Browse files
Chris Chiutiwai
authored andcommitted
ALSA: hda/realtek - Add support for Acer Aspire E5-475 headset mic
The Acer laptop Aspire E5-475 with ALC255 can't detect the headset microphone until we modify a pin definition. Signed-off-by: Chris Chiu <[email protected]> Signed-off-by: Daniel Drake <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
1 parent a65895e commit 5824ce8

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

sound/pci/hda/patch_realtek.c

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4833,6 +4833,7 @@ enum {
48334833
ALC290_FIXUP_SUBWOOFER_HSJACK,
48344834
ALC269_FIXUP_THINKPAD_ACPI,
48354835
ALC269_FIXUP_DMIC_THINKPAD_ACPI,
4836+
ALC255_FIXUP_ACER_MIC_NO_PRESENCE,
48364837
ALC255_FIXUP_DELL1_MIC_NO_PRESENCE,
48374838
ALC255_FIXUP_DELL2_MIC_NO_PRESENCE,
48384839
ALC255_FIXUP_HEADSET_MODE,
@@ -5287,6 +5288,15 @@ static const struct hda_fixup alc269_fixups[] = {
52875288
.chained = true,
52885289
.chain_id = ALC269_FIXUP_THINKPAD_ACPI,
52895290
},
5291+
[ALC255_FIXUP_ACER_MIC_NO_PRESENCE] = {
5292+
.type = HDA_FIXUP_PINS,
5293+
.v.pins = (const struct hda_pintbl[]) {
5294+
{ 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
5295+
{ }
5296+
},
5297+
.chained = true,
5298+
.chain_id = ALC255_FIXUP_HEADSET_MODE
5299+
},
52905300
[ALC255_FIXUP_DELL1_MIC_NO_PRESENCE] = {
52915301
.type = HDA_FIXUP_PINS,
52925302
.v.pins = (const struct hda_pintbl[]) {
@@ -5851,6 +5861,10 @@ static const struct hda_model_fixup alc269_fixup_models[] = {
58515861
{0x21, 0x03211020}
58525862

58535863
static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = {
5864+
SND_HDA_PIN_QUIRK(0x10ec0255, 0x1025, "Acer", ALC255_FIXUP_ACER_MIC_NO_PRESENCE,
5865+
{0x12, 0x90a601c0},
5866+
{0x14, 0x90171120},
5867+
{0x21, 0x02211030}),
58545868
SND_HDA_PIN_QUIRK(0x10ec0225, 0x1028, "Dell", ALC225_FIXUP_DELL1_MIC_NO_PRESENCE,
58555869
ALC225_STANDARD_PINS,
58565870
{0x12, 0xb7a60130},

0 commit comments

Comments
 (0)