Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2113834ybt; Fri, 3 Jul 2020 00:52:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxuqlf7lqDMHK3wEcfEhBRmhrCWEfByFqpMx71k2UzPHVRCdS7XWKR+5qnFnN8r5SSApfzy X-Received: by 2002:a05:6402:ca3:: with SMTP id cn3mr40687215edb.64.1593762746083; Fri, 03 Jul 2020 00:52:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593762746; cv=none; d=google.com; s=arc-20160816; b=IiNFsuMdqchG9brRSWDYCFcPRSC+egBXuPkSxdssJmnvQO1fU65vxCgGO9XOBvPc4E s0PJiYWm7Wd4PPqhjCIEWBEofDyfsX0XrPj2LOwfzm/u5jowBPcW6e5xrX/xj/pnyhj+ uLhabLgYJZophnQd2cRmvknX5L5WZVmbKrgKPX5fLhqQttf1QkPwjjzdyyyevkiGeouk i3L6DPCAYGonh1+IqVBBN5H9vWf38BnGFtWFsJL8XV+0qb/j1JPOi0lUlyYSVoic9s4P yfzoAC/trwBfcOHR/aBpmy9CDV1fa2FicfMr6KdK5nahdWMGpv8A0A5G6MCjkf9z79Np UtDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:authenticated-by; bh=5aNCTE3y+11eHboyzKOFWRyYN4nbx0/U76IEbmDS1RM=; b=VyWDl3eaipxk9id6TFE/E8mSh2aPdn0iK9RV9PhyUgwqccq+8yY6ncKp8JBIoRKLAZ V3Y9p6uUugdQLa7PIAfCH3xfAGVmkxWxLVj3Cg3hQ3kYUFqJ1ZnWfMUu8fG1NkBHI3gV FRwBGfqnk7XULccLTEXzTmfSnDp4vwE+o13jTvWNaqs8kCEbEQSwhtJ9xDNBRhUdSfRs aq7fvQJ7GDA+KbDakR5GlYfv8xKYgIure87lMw230k14d5YnrpKndhkxvWh0Fj+p82R8 IP1U7HZWiKG+FWXFV7EqyNINoMf8X7MHELN6tCRbsBaL3pF0V6JY+jFijoMjBwIkCxa3 dJ/g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u7si7205798ejn.161.2020.07.03.00.52.03; Fri, 03 Jul 2020 00:52:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725984AbgGCHvy convert rfc822-to-8bit (ORCPT + 99 others); Fri, 3 Jul 2020 03:51:54 -0400 Received: from rtits2.realtek.com ([211.75.126.72]:59954 "EHLO rtits2.realtek.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725786AbgGCHvy (ORCPT ); Fri, 3 Jul 2020 03:51:54 -0400 Authenticated-By: X-SpamFilter-By: ArmorX SpamTrap 5.69 with qID 0637pe993017804, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexmb06.realtek.com.tw[172.21.6.99]) by rtits2.realtek.com.tw (8.15.2/2.66/5.86) with ESMTPS id 0637pe993017804 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Fri, 3 Jul 2020 15:51:40 +0800 Received: from RTEXMB02.realtek.com.tw (172.21.6.95) by RTEXMB06.realtek.com.tw (172.21.6.99) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1779.2; Fri, 3 Jul 2020 15:51:39 +0800 Received: from RTEXMB01.realtek.com.tw (172.21.6.94) by RTEXMB02.realtek.com.tw (172.21.6.95) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1779.2; Fri, 3 Jul 2020 15:51:39 +0800 Received: from RTEXMB01.realtek.com.tw ([fe80::d53a:d9a5:318:7cd8]) by RTEXMB01.realtek.com.tw ([fe80::d53a:d9a5:318:7cd8%5]) with mapi id 15.01.1779.005; Fri, 3 Jul 2020 15:51:39 +0800 From: Kailang To: Jian-Hong Pan , Takashi Iwai CC: "alsa-devel@alsa-project.org" , "linux-kernel@vger.kernel.org" , "linux@endlessm.com" , Chris Chiu Subject: RE: [PATCH v2 1/3] ALSA: hda/realtek - Enable audio jacks of Acer vCopperbox with ALC269VC Thread-Topic: [PATCH v2 1/3] ALSA: hda/realtek - Enable audio jacks of Acer vCopperbox with ALC269VC Thread-Index: AQHWUQ050FyI+tJN2U+7kMSQrGQS26j1elRg Date: Fri, 3 Jul 2020 07:51:39 +0000 Message-ID: References: <20200703073753.185147-1-jian-hong@endlessm.com> In-Reply-To: <20200703073753.185147-1-jian-hong@endlessm.com> Accept-Language: zh-TW, en-US Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.22.102.211] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Please modify ALC269_FIXUP_HEADSET_MODE to ALC269_FIXUP_HEADSET_MIC for 3 patches. ALC269_FIXUP_HEADSET_MODE was used for Jack detect codec. Kailang. > -----Original Message----- > From: Jian-Hong Pan > Sent: Friday, July 3, 2020 3:38 PM > To: Takashi Iwai > Cc: Kailang ; alsa-devel@alsa-project.org; > linux-kernel@vger.kernel.org; linux@endlessm.com; Jian-Hong Pan > ; Chris Chiu > Subject: [PATCH v2 1/3] ALSA: hda/realtek - Enable audio jacks of Acer > vCopperbox with ALC269VC > > The Acer desktop vCopperbox with ALC269VC cannot detect the MIC of > headset, the line out and internal speaker until > ALC269VC_FIXUP_ACER_VCOPPERBOX_PINS quirk applied. > > Signed-off-by: Jian-Hong Pan > Signed-off-by: Chris Chiu > --- > sound/pci/hda/patch_realtek.c | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > > diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c > index 737ef82a75fd..dfb4bca07d3f 100644 > --- a/sound/pci/hda/patch_realtek.c > +++ b/sound/pci/hda/patch_realtek.c > @@ -6149,6 +6149,7 @@ enum { > ALC236_FIXUP_HP_MUTE_LED, > ALC298_FIXUP_SAMSUNG_HEADPHONE_VERY_QUIET, > ALC295_FIXUP_ASUS_MIC_NO_PRESENCE, > + ALC269VC_FIXUP_ACER_VCOPPERBOX_PINS, > }; > > static const struct hda_fixup alc269_fixups[] = { @@ -7327,6 +7328,17 @@ > static const struct hda_fixup alc269_fixups[] = { > .chained = true, > .chain_id = ALC269_FIXUP_HEADSET_MODE > }, > + [ALC269VC_FIXUP_ACER_VCOPPERBOX_PINS] = { > + .type = HDA_FIXUP_PINS, > + .v.pins = (const struct hda_pintbl[]) { > + { 0x14, 0x90100120 }, /* use as internal speaker */ > + { 0x18, 0x02a111f0 }, /* use as headset mic, without its own > jack detect */ > + { 0x1a, 0x01011020 }, /* use as line out */ > + { }, > + }, > + .chained = true, > + .chain_id = ALC269_FIXUP_HEADSET_MODE > + }, > }; > > static const struct snd_pci_quirk alc269_fixup_tbl[] = { @@ -7346,6 +7358,7 > @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { > SND_PCI_QUIRK(0x1025, 0x1099, "Acer Aspire E5-523G", > ALC255_FIXUP_ACER_MIC_NO_PRESENCE), > SND_PCI_QUIRK(0x1025, 0x110e, "Acer Aspire ES1-432", > ALC255_FIXUP_ACER_MIC_NO_PRESENCE), > SND_PCI_QUIRK(0x1025, 0x1246, "Acer Predator Helios 500", > ALC299_FIXUP_PREDATOR_SPK), > + SND_PCI_QUIRK(0x1025, 0x1247, "Acer vCopperbox", > +ALC269VC_FIXUP_ACER_VCOPPERBOX_PINS), > SND_PCI_QUIRK(0x1025, 0x128f, "Acer Veriton Z6860G", > ALC286_FIXUP_ACER_AIO_HEADSET_MIC), > SND_PCI_QUIRK(0x1025, 0x1290, "Acer Veriton Z4860G", > ALC286_FIXUP_ACER_AIO_HEADSET_MIC), > SND_PCI_QUIRK(0x1025, 0x1291, "Acer Veriton Z4660G", > ALC286_FIXUP_ACER_AIO_HEADSET_MIC), > -- > 2.27.0