Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp525736ybg; Wed, 23 Oct 2019 01:50:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqwLttAC7V10621mea8zmFa5Ne00Mziz/8FaTBMHYjyUT/ifmZqZyyRNRnn5fp0cbFalBsz9 X-Received: by 2002:a17:906:b781:: with SMTP id dt1mr31507330ejb.221.1571820600112; Wed, 23 Oct 2019 01:50:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571820600; cv=none; d=google.com; s=arc-20160816; b=U8jLK476SoBv/NmEGCriSd0o1QjoKXayRlFQAgNQILZY9kUcrgfzkmgUCDvz5jVtId xGbPTv2UH14/1Axnm6DKi7Xd1Bews75sbrGirVE3p0g9qyVY/XSTT5Hwx7/xWms7LHwl 2WsP1AZkPnYvk1I2YzrVhE/+Ch35bKPTLefydA9fJKbHEPwtn6Lru5kDGyEUnMofImet u1WK3GuPjEPNrM4ysddsbkkZjVM+iAXMw/Cl8SNu1V3NyJgsJrPwe4Sc9bdLrrhVTi4z 76lyfkK5eznBFONf5SElEQF69LZO2DwMHRyw4egguMCZz69vPnqs6iD7mOTULUVBPBj2 CDtw== 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=5xXzfirM6YjsaqgORcojj7F69/k6f+KPs1A9RCVNwxA=; b=Sw3j4juRDpRi52R6TFwQ4hyguya1LMnbEpdtfiVl6hDcLQbDGWWflsgMNM35HByl30 egEGiBcN6rk2MPTo8XgFfp8ursXvAkcHTZjc5MWyVnQn7MPFVLrDXnDLo9OIHSCQ322a +JSKYSnyYNitfzVfJ9B74qhr7t797dN0awTP8nNsgUyZk0EOtoVI50M9zVvmIKGFPjsl Nl4mXw8BnK6Y+S5I4vXo+bh0ehxa/j7WnE/WnEp+OKowzBVLuV6ClaqU5bfrL3YL494B UCoDpolDd4rAMzf5doLMrKFXoHVeWcT451Wg9OKsCdswmUzH0vTbBlLTFla+/9P9RMNk vl0A== 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 j34si5304368ede.297.2019.10.23.01.49.34; Wed, 23 Oct 2019 01:50:00 -0700 (PDT) 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 S2390508AbfJWIqA convert rfc822-to-8bit (ORCPT + 99 others); Wed, 23 Oct 2019 04:46:00 -0400 Received: from rtits2.realtek.com ([211.75.126.72]:56174 "EHLO rtits2.realtek.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390034AbfJWIqA (ORCPT ); Wed, 23 Oct 2019 04:46:00 -0400 Authenticated-By: X-SpamFilter-By: BOX Solutions SpamTrap 5.62 with qID x9N8idV2013066, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (RTITCASV02.realtek.com.tw[172.21.6.19]) by rtits2.realtek.com.tw (8.15.2/2.57/5.78) with ESMTPS id x9N8idV2013066 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 23 Oct 2019 16:44:39 +0800 Received: from RTEXMB03.realtek.com.tw (172.21.6.96) by RTITCASV02.realtek.com.tw (172.21.6.19) with Microsoft SMTP Server (TLS) id 14.3.468.0; Wed, 23 Oct 2019 16:44:38 +0800 Received: from RTEXMB01.realtek.com.tw (172.21.6.94) by RTEXMB03.realtek.com.tw (172.21.6.96) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1779.2; Wed, 23 Oct 2019 16:44:37 +0800 Received: from RTEXMB01.realtek.com.tw ([fe80::6d88:58e2:6d4b:ff7c]) by RTEXMB01.realtek.com.tw ([fe80::6d88:58e2:6d4b:ff7c%13]) with mapi id 15.01.1779.005; Wed, 23 Oct 2019 16:44:37 +0800 From: Kailang To: Takashi Iwai , Aaron Ma CC: "perex@perex.cz" , "hui.wang@canonical.com" , "alsa-devel@alsa-project.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH] ALSA: hda/realtek - Fix 2 front mics of codec 0x623 Thread-Topic: [PATCH] ALSA: hda/realtek - Fix 2 front mics of codec 0x623 Thread-Index: AQHViO7vxXHEn3Xl7Ee6N1/g4hdxKqdmTdyAgAGbrzA= Date: Wed, 23 Oct 2019 08:44:37 +0000 Message-ID: <848ebd7fd86e4c05936e70f500f718e9@realtek.com> References: <20191022153855.14368-1-aaron.ma@canonical.com> In-Reply-To: Accept-Language: zh-TW, en-US Content-Language: zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.22.105.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 > -----Original Message----- > From: Takashi Iwai > Sent: Wednesday, October 23, 2019 12:08 AM > To: Aaron Ma > Cc: perex@perex.cz; Kailang ; > hui.wang@canonical.com; alsa-devel@alsa-project.org; > linux-kernel@vger.kernel.org > Subject: Re: [PATCH] ALSA: hda/realtek - Fix 2 front mics of codec 0x623 > > On Tue, 22 Oct 2019 17:38:55 +0200, > Aaron Ma wrote: > > > > These 2 ThinkCentres installed a new realtek codec ID 0x623, it has 2 > > front mics with the same location on pin 0x18 and 0x19. > > > > Apply fixup ALC283_FIXUP_HEADSET_MIC to change 1 front mic location to > > right, then pulseaudio can handle them. > > One "Front Mic" and one "Mic" will be shown, and audio output works > > fine. > > > > Signed-off-by: Aaron Ma > > I'd like to have Kailang's review about the new codec before applying. > > Kailang, could you take a look? OK. I will post you the patch for ALC623 codec tomorrow. Thanks. > > > thanks, > > Takashi > > > --- > > sound/pci/hda/patch_realtek.c | 3 +++ > > 1 file changed, 3 insertions(+) > > > > diff --git a/sound/pci/hda/patch_realtek.c > > b/sound/pci/hda/patch_realtek.c index b000b36ac3c6..c34d8b435f58 > > 100644 > > --- a/sound/pci/hda/patch_realtek.c > > +++ b/sound/pci/hda/patch_realtek.c > > @@ -7186,6 +7186,8 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] > = { > > SND_PCI_QUIRK(0x17aa, 0x312f, "ThinkCentre Station", > ALC294_FIXUP_LENOVO_MIC_LOCATION), > > SND_PCI_QUIRK(0x17aa, 0x313c, "ThinkCentre Station", > ALC294_FIXUP_LENOVO_MIC_LOCATION), > > SND_PCI_QUIRK(0x17aa, 0x3151, "ThinkCentre Station", > > ALC283_FIXUP_HEADSET_MIC), > > + SND_PCI_QUIRK(0x17aa, 0x3178, "ThinkCentre Station", > ALC283_FIXUP_HEADSET_MIC), > > + SND_PCI_QUIRK(0x17aa, 0x3176, "ThinkCentre Station", > > +ALC283_FIXUP_HEADSET_MIC), > > SND_PCI_QUIRK(0x17aa, 0x3902, "Lenovo E50-80", > ALC269_FIXUP_DMIC_THINKPAD_ACPI), > > SND_PCI_QUIRK(0x17aa, 0x3977, "IdeaPad S210", > ALC283_FIXUP_INT_MIC), > > SND_PCI_QUIRK(0x17aa, 0x3978, "Lenovo B50-70", > > ALC269_FIXUP_DMIC_THINKPAD_ACPI), @@ -9187,6 +9189,7 @@ static > const struct hda_device_id snd_hda_id_realtek[] = { > > HDA_CODEC_ENTRY(0x10ec0298, "ALC298", patch_alc269), > > HDA_CODEC_ENTRY(0x10ec0299, "ALC299", patch_alc269), > > HDA_CODEC_ENTRY(0x10ec0300, "ALC300", patch_alc269), > > + HDA_CODEC_ENTRY(0x10ec0623, "ALC623", patch_alc269), > > HDA_CODEC_REV_ENTRY(0x10ec0861, 0x100340, "ALC660", > patch_alc861), > > HDA_CODEC_ENTRY(0x10ec0660, "ALC660-VD", patch_alc861vd), > > HDA_CODEC_ENTRY(0x10ec0861, "ALC861", patch_alc861), > > -- > > 2.17.1 > > > > ------Please consider the environment before printing this e-mail.