From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BE62EC04EB9 for ; Wed, 5 Dec 2018 09:32:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8B54C206B7 for ; Wed, 5 Dec 2018 09:32:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8B54C206B7 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727509AbeLEJcm (ORCPT ); Wed, 5 Dec 2018 04:32:42 -0500 Received: from mx2.suse.de ([195.135.220.15]:53516 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726102AbeLEJcm (ORCPT ); Wed, 5 Dec 2018 04:32:42 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 823EEB67B; Wed, 5 Dec 2018 09:32:39 +0000 (UTC) Date: Wed, 05 Dec 2018 10:32:38 +0100 Message-ID: From: Takashi Iwai To: Kailang Cc: "Jian-Hong Pan" , "Jaroslav Kysela" , "alsa-devel@alsa-project.org" , "Hui Wang" , "Chris Chiu" , "Daniel Drake" , "linux@endlessm.com" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 1/4] ALSA: hda/realtek: ALC286 mic and headset-mode fixups for Acer Aspire U27-880 In-Reply-To: <6FAB7C47BCF00940BB0999A99BE3547A184200B5@RTITMBSV02.realtek.com.tw> References: <20181205064856.19380-1-jian-hong@endlessm.com> <6FAB7C47BCF00940BB0999A99BE3547A184200B5@RTITMBSV02.realtek.com.tw> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/26 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 05 Dec 2018 10:06:14 +0100, Kailang wrote: > > Sorry!! > Don't change this. Hm, should I apply these series or not? thanks, Takashi > > -----Original Message----- > From: Kailang > Sent: Wednesday, December 5, 2018 4:52 PM > To: 'Jian-Hong Pan' ; Jaroslav Kysela ; Takashi Iwai > Cc: Hui Wang ; alsa-devel@alsa-project.org; linux-kernel@vger.kernel.org; linux@endlessm.com; Chris Chiu ; Daniel Drake > Subject: RE: [PATCH 1/4] ALSA: hda/realtek: ALC286 mic and headset-mode fixups for Acer Aspire U27-880 > > Hi Jian Hong, > > Please also try to change model to ALC269_FIXUP_HEADSET_MODE_NO_HP_MIC. > > + .chain_id = ALC269_FIXUP_HEADSET_MIC ==> change to ALC269_FIXUP_HEADSET_MODE_NO_HP_MIC > > BR, > Kailang > -----Original Message----- > From: Jian-Hong Pan > Sent: Wednesday, December 5, 2018 2:49 PM > To: Jaroslav Kysela ; Takashi Iwai > Cc: Kailang ; Hui Wang ; alsa-devel@alsa-project.org; linux-kernel@vger.kernel.org; linux@endlessm.com; Chris Chiu ; Jian-Hong Pan ; Daniel Drake > Subject: [PATCH 1/4] ALSA: hda/realtek: ALC286 mic and headset-mode fixups for Acer Aspire U27-880 > > From: Chris Chiu > > 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 > Signed-off-by: Daniel Drake > Signed-off-by: Chris Chiu > --- > sound/pci/hda/patch_realtek.c | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > > diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index c0b289ba397f..f21d52eb2ed3 100644 > --- a/sound/pci/hda/patch_realtek.c > +++ b/sound/pci/hda/patch_realtek.c > @@ -5516,6 +5516,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[] = { @@ -6393,6 +6394,15 @@ static const struct hda_fixup alc269_fixups[] = { > .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[] = { @@ -7071,6 +7081,10 @@ static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = { > {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}, > -- > 2.11.0 > >