Skip to content

Commit 33aaebd

Browse files
Chris Chiutiwai
authored andcommitted
ALSA: hda/realtek: ALC286 mic and headset-mode fixups for Acer Aspire U27-880
Acer Aspire U27-880(AIO) with ALC286 codec can not detect headset mic and internal mic not working either. It needs the similar quirk like Sony laptops to fix headphone jack sensing and enables use of the internal microphone. Unfortunately jack sensing for the headset mic is still not working. Signed-off-by: Jian-Hong Pan <jian-hong@endlessm.com> Signed-off-by: Daniel Drake <drake@endlessm.com> Signed-off-by: Chris Chiu <chiu@endlessm.com> Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent 5f8cf71 commit 33aaebd

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
@@ -5519,6 +5519,7 @@ enum {
55195519
ALC221_FIXUP_HP_HEADSET_MIC,
55205520
ALC285_FIXUP_LENOVO_HEADPHONE_NOISE,
55215521
ALC295_FIXUP_HP_AUTO_MUTE,
5522+
ALC286_FIXUP_ACER_AIO_MIC_NO_PRESENCE,
55225523
};
55235524

55245525
static const struct hda_fixup alc269_fixups[] = {
@@ -6396,6 +6397,15 @@ static const struct hda_fixup alc269_fixups[] = {
63966397
.type = HDA_FIXUP_FUNC,
63976398
.v.func = alc_fixup_auto_mute_via_amp,
63986399
},
6400+
[ALC286_FIXUP_ACER_AIO_MIC_NO_PRESENCE] = {
6401+
.type = HDA_FIXUP_PINS,
6402+
.v.pins = (const struct hda_pintbl[]) {
6403+
{ 0x18, 0x01a1913c }, /* use as headset mic, without its own jack detect */
6404+
{ }
6405+
},
6406+
.chained = true,
6407+
.chain_id = ALC269_FIXUP_HEADSET_MIC
6408+
},
63996409
};
64006410

64016411
static const struct snd_pci_quirk alc269_fixup_tbl[] = {
@@ -7074,6 +7084,10 @@ static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = {
70747084
{0x14, 0x90170110},
70757085
{0x19, 0x04a11040},
70767086
{0x21, 0x04211020}),
7087+
SND_HDA_PIN_QUIRK(0x10ec0286, 0x1025, "Acer", ALC286_FIXUP_ACER_AIO_MIC_NO_PRESENCE,
7088+
{0x12, 0x90a60130},
7089+
{0x17, 0x90170110},
7090+
{0x21, 0x02211020}),
70777091
SND_HDA_PIN_QUIRK(0x10ec0288, 0x1028, "Dell", ALC288_FIXUP_DELL1_MIC_NO_PRESENCE,
70787092
{0x12, 0x90a60120},
70797093
{0x14, 0x90170110},

0 commit comments

Comments
 (0)