lkml.org 
[lkml]   [2018]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4.19 067/118] ALSA: hda/realtek: ALC286 mic and headset-mode fixups for Acer Aspire U27-880
    Date
    4.19-stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Chris Chiu <chiu@endlessm.com>

    commit 33aaebd48ae2d2c78fef5063a0381e17db19b060 upstream.

    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>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

    ---
    sound/pci/hda/patch_realtek.c | 14 ++++++++++++++
    1 file changed, 14 insertions(+)

    --- a/sound/pci/hda/patch_realtek.c
    +++ b/sound/pci/hda/patch_realtek.c
    @@ -5519,6 +5519,7 @@ enum {
    ALC221_FIXUP_HP_HEADSET_MIC,
    ALC285_FIXUP_LENOVO_HEADPHONE_NOISE,
    ALC295_FIXUP_HP_AUTO_MUTE,
    + ALC286_FIXUP_ACER_AIO_MIC_NO_PRESENCE,
    };

    static const struct hda_fixup alc269_fixups[] = {
    @@ -6396,6 +6397,15 @@ static const struct hda_fixup alc269_fix
    .type = HDA_FIXUP_FUNC,
    .v.func = alc_fixup_auto_mute_via_amp,
    },
    + [ALC286_FIXUP_ACER_AIO_MIC_NO_PRESENCE] = {
    + .type = HDA_FIXUP_PINS,
    + .v.pins = (const struct hda_pintbl[]) {
    + { 0x18, 0x01a1913c }, /* use as headset mic, without its own jack detect */
    + { }
    + },
    + .chained = true,
    + .chain_id = ALC269_FIXUP_HEADSET_MIC
    + },
    };

    static const struct snd_pci_quirk alc269_fixup_tbl[] = {
    @@ -7074,6 +7084,10 @@ static const struct snd_hda_pin_quirk al
    {0x14, 0x90170110},
    {0x19, 0x04a11040},
    {0x21, 0x04211020}),
    + SND_HDA_PIN_QUIRK(0x10ec0286, 0x1025, "Acer", ALC286_FIXUP_ACER_AIO_MIC_NO_PRESENCE,
    + {0x12, 0x90a60130},
    + {0x17, 0x90170110},
    + {0x21, 0x02211020}),
    SND_HDA_PIN_QUIRK(0x10ec0288, 0x1028, "Dell", ALC288_FIXUP_DELL1_MIC_NO_PRESENCE,
    {0x12, 0x90a60120},
    {0x14, 0x90170110},

    \
     
     \ /
      Last update: 2018-12-11 17:03    [W:4.138 / U:0.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site