Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp9615404imu; Wed, 5 Dec 2018 07:38:04 -0800 (PST) X-Google-Smtp-Source: AFSGD/UzY6wT9ucN1qtfCIOYBQUMsKkoSobA2ueRlZjx1oY8WWVxbi5+EDmT3xqHT1nW39ux4U+9 X-Received: by 2002:a17:902:690c:: with SMTP id j12mr24436712plk.206.1544024284825; Wed, 05 Dec 2018 07:38:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544024284; cv=none; d=google.com; s=arc-20160816; b=WiKoG34WmMCQlYtFNgV7BA8U06h5jnsyYHV+vUr875MF4pauLAnTO9uONkbw1iYiNS uHMKICejoQpSk+RrtviNCwrpnL2zMHNEYEp4exYYZ91gDdAFSnrZp1eVTtVP/H0FylbE W0nFYFfEZ2hilWEcZRtIW+TwDyitSkoU2BY3oCKl44QyBC9SvTPUrWEa8Y45dyb8b8uL Mq4GXy8zgm84itkiW5+qA3Vgh7PLX7X8705JqSILPbbN/ayU8aYVE/HVqdVA35mmhBRO JGuAE9kEb7hrzliEz3SCpOX36FWGC9mDxNnFbvVTFdZQXBhNJMBZtioObtZjIta34Vu5 icyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:subject:cc:to:from:message-id :date; bh=sOUM6on2fY9kZ6nnjUb01AO9nNSFpJLim/b8JMK/Fps=; b=R6r67VUKp5hH7vjqmsZ3oK5qcA/DwuL6ZIQwobocnnc2GMV04/Zf2a8ErR+9UAVS0f vdLChYiC09RAmql0M/Ut7pf9bSGs5E4vO9xkeT8a985f0usHVOpQrqcsZdx69mI4z0Lp 1qdjwwj82Dqlh0fINnT6zVa9y0qtMUzhqer4ZJZbVU1bxduga2llo3iNWQnVXPHcrpgM 4TP5g+7yYgNUP1wyhaWsz1IKd6yA5g8VXcOeBVV7vvGiqoWEBN/DVZu42B4ruPIFx5fu A9YJZI+pi+qxJIA9oEQG14gN9W+AkHwuB/LA0BCmKDC/gew55T/APncfn1qsS9MzAqN3 mKfA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x9si18553704pge.76.2018.12.05.07.37.49; Wed, 05 Dec 2018 07:38:04 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728004AbeLEPgx (ORCPT + 99 others); Wed, 5 Dec 2018 10:36:53 -0500 Received: from mx2.suse.de ([195.135.220.15]:60778 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727240AbeLEPgw (ORCPT ); Wed, 5 Dec 2018 10:36:52 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 34071AFCD; Wed, 5 Dec 2018 15:36:50 +0000 (UTC) Date: Wed, 05 Dec 2018 16:36:48 +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: <6FAB7C47BCF00940BB0999A99BE3547A184200F7@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=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 05 Dec 2018 13:37:43 +0100, Kailang wrote: > > Hi Takashi, > > You should apply alc286 platform first. > I think they had test passed already. > ALC294 platform just wait for test via change model. OK, now applied this series for ALC286. For ALC294, I'll wait for the test result. thanks, Takashi > > BR, > Kailang > ________________________________________ > 從: Takashi Iwai [tiwai@suse.de] > 寄件日期: 2018年12月5日 下午 05:32 > 至: Kailang > 副本: Jian-Hong Pan; Jaroslav Kysela; alsa-devel@alsa-project.org; Hui Wang; Chris Chiu; Daniel Drake; linux@endlessm.com; linux-kernel@vger.kernel.org > 主旨: Re: [PATCH 1/4] ALSA: hda/realtek: ALC286 mic and headset-mode fixups for Acer Aspire U27-880 > > 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 > > > > > > ------Please consider the environment before printing this e-mail.