From patchwork Wed Dec 5 06:48:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jian-Hong Pan X-Patchwork-Id: 10713087 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A0CF513AF for ; Wed, 5 Dec 2018 06:50:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 850A52C7DD for ; Wed, 5 Dec 2018 06:50:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 78AEE2C80C; Wed, 5 Dec 2018 06:50:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BAF752C7DD for ; Wed, 5 Dec 2018 06:50:17 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id AB0D0267BDC; Wed, 5 Dec 2018 07:50:11 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id ED548267B9C; Wed, 5 Dec 2018 07:49:55 +0100 (CET) Received: from mail-pf1-f193.google.com (mail-pf1-f193.google.com [209.85.210.193]) by alsa0.perex.cz (Postfix) with ESMTP id 6DDD3267B95 for ; Wed, 5 Dec 2018 07:49:49 +0100 (CET) Received: by mail-pf1-f193.google.com with SMTP id c72so9524514pfc.6 for ; Tue, 04 Dec 2018 22:49:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=endlessm-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=6BJcg3ek3gGRvR369ztMOJW5erTNjFk86k2+aWsWv+I=; b=gJAmelD3t96UETw2TBTkwlPLhNp0YBancKlyMxhHEIWP9OurDmSebjyPlnRtzZvZvu GqZ8Q44GOhtA7iEegn5Ng0KFkw08v6AIneF90wq6/7cjZ5K8sq4wXZQikSwUfzrJc6hV vZRb1ppD393yeAPbSy6XkVyP98jxVDQE4LgUzVsJojR23/zkDMENU//5sRHcKC3i+cCj agLv0dRhMFU9Q923bQUQZLb0oP8u0ZLVLOzTtqRBbEkOlaxpHX+uTQB5i4gJ19F3zG/0 6aGliTFfD44BvgLXhJ+JkSKJ5CQdRd37ei9P7S5mzmBr92icd3XhcmnMe7vxWJBqDtr9 yqFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=6BJcg3ek3gGRvR369ztMOJW5erTNjFk86k2+aWsWv+I=; b=ppcapj2NWpAbpyE/wNakVfPgcoS4Bl7lak7/lYq7s1oDOdAzINp3OV0bMx//hpPM+Z WQ60sKm4D75u6Je3nrSplKIqQKqXZXviF+7U0IfjrkOoWjRuTQD+Y3BhfQk8hbdAnP33 RoV/KNBypR7TY4Ah2FEJ+V5xOWxDkTFFXekc9kSMwToeRsfKTqC3kGxdCzW5PHsAUQ0X cb5vkJFr6Ibmdg6MURdzto2VuF5oXRQANfMSL5zZclVx4E1u6T0wH9sKv5P8e1XTJgby lL8St8Hw8AVKD7arLekp+MbsyR7CD1eRVKpneGORMqzQ47M1p7yiW7hxk/GZqZ2vNBxC 2ZrA== X-Gm-Message-State: AA+aEWYk8gms2y9XK/ogA86ZXLZ57fAUulIsuE0hFxR3SkSLWEAA3N+o jvAqYRMudj8Pd5/PrtNyDIWHwg== X-Google-Smtp-Source: AFSGD/XPKyYI2g4pUx5FsRoLAXC9H3gzeQpLC67H68QQ10M28HEjyGpNenXJnw7nYVkswt/57FCgsw== X-Received: by 2002:a63:7154:: with SMTP id b20mr19411854pgn.342.1543992588731; Tue, 04 Dec 2018 22:49:48 -0800 (PST) Received: from localhost.localdomain (125-227-158-176.HINET-IP.hinet.net. [125.227.158.176]) by smtp.gmail.com with ESMTPSA id c13sm36995220pfe.93.2018.12.04.22.49.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Dec 2018 22:49:48 -0800 (PST) From: Jian-Hong Pan To: Jaroslav Kysela , Takashi Iwai Date: Wed, 5 Dec 2018 14:48:53 +0800 Message-Id: <20181205064856.19380-1-jian-hong@endlessm.com> X-Mailer: git-send-email 2.11.0 Cc: alsa-devel@alsa-project.org, Kailang Yang , Chris Chiu , linux-kernel@vger.kernel.org, Daniel Drake , Hui Wang , Jian-Hong Pan , linux@endlessm.com Subject: [alsa-devel] [PATCH 1/4] ALSA: hda/realtek: ALC286 mic and headset-mode fixups for Acer Aspire U27-880 X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Signed-off-by: Jian-Hong Pan Signed-off-by: Daniel Drake Signed-off-by: Chris Chiu 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}, From patchwork Wed Dec 5 06:48:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jian-Hong Pan X-Patchwork-Id: 10713091 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 54C2413AF for ; Wed, 5 Dec 2018 06:50:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 436642C81E for ; Wed, 5 Dec 2018 06:50:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 370ED2C839; Wed, 5 Dec 2018 06:50:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8D17F2C81E for ; Wed, 5 Dec 2018 06:50:50 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 74882267BE7; Wed, 5 Dec 2018 07:50:46 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id B3499267B9C; Wed, 5 Dec 2018 07:50:08 +0100 (CET) Received: from mail-pl1-f195.google.com (mail-pl1-f195.google.com [209.85.214.195]) by alsa0.perex.cz (Postfix) with ESMTP id 32307267B95 for ; Wed, 5 Dec 2018 07:50:01 +0100 (CET) Received: by mail-pl1-f195.google.com with SMTP id g9so9599458plo.3 for ; Tue, 04 Dec 2018 22:50:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=endlessm-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=h36DWbVr+KbedTyBVMCzYV3kIRaBGWxCfvgWMbeB+3Y=; b=1nAvj1eeCborZOa8NqUigBRobvld7J2+IiYOWxoJ/8i5EyjQc5sK2OMY4mb0AF4k4E HrjRcgVIZA56UMZt2zpOzoob1gy9EHF8pwPxQFu1aMvjcMvT2gj8/WwyyERYOSipZ9eX grcUgR0oN12vUzgdDqblRQ7dDf3pyYctdDfLNcw22ApV6QPOlc9Vz1mbFmqIv34CMNKe 77Y+td95ky4Aid+VV+jTWwPKTvOLDw1P2jORZS5xan64nIZidFNeIxGO5my2Ocr6k0mJ h7cTYhTcbB0zJVtzfMcUI7LEt0CVcuFbryj3pfTK7ILBDudbmnXA0RbTe3T7qmsmvsBq sOmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=h36DWbVr+KbedTyBVMCzYV3kIRaBGWxCfvgWMbeB+3Y=; b=d8jZkiHYRzfqYQoQTvVoysWypsxUbmobLYgh1s6l1fmtNFJBM8KheudEiV8LGuBKaM geQGfUK2P+bOVFytnI+zmVpz4yYjdjyP0068C4lF8gbU7Lcasbp2MmtpE0izM6vBv0ka Ct9/hGsaQGCAgkoUApkxdQiFzn28FP12juelloagaoPYnaqNOe37TGda8jkVA6G5rgri ODbzN+sDL3+hslkyGtgTD5pocVA3KCXEr4aMGWh+aL5MENA3ljr1UDOMtMDO6K5ys9XX b3ySq3AlfYe4GHo3jleGR24OrMTb3dwtcMLiNMQ6ScKwLm5eQcnAxyBNJjCYfLP0EmtZ bc3w== X-Gm-Message-State: AA+aEWb81xbRkggSM/lBTml+qfaCNnReHlCMYpFPdesiRS4HSBFQSwHA P9mGdrGJMAQFTHnqexwv2BadRA== X-Google-Smtp-Source: AFSGD/UEW97V9xoItSxkXHwnPZj5FHlToMOu3HQKTr4myl4cEThXgcdAs+F5M1/Mb+pbn+DfdG7xvw== X-Received: by 2002:a17:902:bc43:: with SMTP id t3mr21529197plz.124.1543992600377; Tue, 04 Dec 2018 22:50:00 -0800 (PST) Received: from localhost.localdomain (125-227-158-176.HINET-IP.hinet.net. [125.227.158.176]) by smtp.gmail.com with ESMTPSA id c13sm36995220pfe.93.2018.12.04.22.49.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Dec 2018 22:50:00 -0800 (PST) From: Jian-Hong Pan To: Jaroslav Kysela , Takashi Iwai Date: Wed, 5 Dec 2018 14:48:54 +0800 Message-Id: <20181205064856.19380-2-jian-hong@endlessm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20181205064856.19380-1-jian-hong@endlessm.com> References: <20181205064856.19380-1-jian-hong@endlessm.com> Cc: alsa-devel@alsa-project.org, Kailang Yang , Chris Chiu , linux-kernel@vger.kernel.org, Daniel Drake , Hui Wang , Jian-Hong Pan , linux@endlessm.com Subject: [alsa-devel] [PATCH 2/4] ALSA: hda/realtek - Add support for Acer Aspire C24-860 headset mic X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP From: Chris Chiu The Acer AIO Aspire C24-860 with ALC286 can't detect the headset microphone. Just like another Acer AIO U27-880, it needs a different pin value for 0x18 and the headset fixup to make headset mic work. Signed-off-by: Jian-Hong Pan Signed-off-by: Daniel Drake Signed-off-by: Chris Chiu --- sound/pci/hda/patch_realtek.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index f21d52eb2ed3..5a7a297546db 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -6417,6 +6417,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x1025, 0x0762, "Acer Aspire E1-472", ALC271_FIXUP_HP_GATE_MIC_JACK_E1_572), SND_PCI_QUIRK(0x1025, 0x0775, "Acer Aspire E1-572", ALC271_FIXUP_HP_GATE_MIC_JACK_E1_572), SND_PCI_QUIRK(0x1025, 0x079b, "Acer Aspire V5-573G", ALC282_FIXUP_ASPIRE_V5_PINS), + SND_PCI_QUIRK(0x1025, 0x102b, "Acer Aspire C24-860", ALC286_FIXUP_ACER_AIO_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x1025, 0x106d, "Acer Cloudbook 14", ALC283_FIXUP_CHROME_BOOK), SND_PCI_QUIRK(0x1028, 0x0470, "Dell M101z", ALC269_FIXUP_DELL_M101Z), SND_PCI_QUIRK(0x1028, 0x054b, "Dell XPS one 2710", ALC275_FIXUP_DELL_XPS), From patchwork Wed Dec 5 06:48:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jian-Hong Pan X-Patchwork-Id: 10713089 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A3C2B109C for ; Wed, 5 Dec 2018 06:50:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 914972C7DD for ; Wed, 5 Dec 2018 06:50:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 85A4E2C81E; Wed, 5 Dec 2018 06:50:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ABD3B2C7DD for ; Wed, 5 Dec 2018 06:50:37 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id EE438267BDF; Wed, 5 Dec 2018 07:50:30 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 88CE4267B97; Wed, 5 Dec 2018 07:50:08 +0100 (CET) Received: from mail-pl1-f195.google.com (mail-pl1-f195.google.com [209.85.214.195]) by alsa0.perex.cz (Postfix) with ESMTP id C1E09267B97 for ; Wed, 5 Dec 2018 07:50:04 +0100 (CET) Received: by mail-pl1-f195.google.com with SMTP id k8so9574816pls.11 for ; Tue, 04 Dec 2018 22:50:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=endlessm-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=sdH+jOIcQ0xKXOzS7KvcdEvbJ9UFF8FSN28qLURlLsM=; b=L+NO0PkquL+vwtW0Jyz+4aUXBM+++vpRbAW97LkGhSnOkMn3kGCerjtTFkfk1pCbRi afOi/8f0OC+fQtlFF5Xv1LSwXGxnRi/EVUd09/AewPPk3TsROaXs0inH7fgEt3xG/xwC /DdhEM45ed7juShGUCrnnjh6njQ/ZVBtv/U3nzBUp3Tq16EIp9qPdgKKKCimwrPQlu4b 8apH4IIfCM5BzLi3FYUfXincaHVcd2vcK/b4aWkXPdzPV5/EIxHckZ1KYIoefMO8jd+Z zRHDufv5cVDf+k6uuLgBq35DiIy5tk1m0RKYoKDVv+0fs13i+AxH82zFOTqNqHptQvic kSGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=sdH+jOIcQ0xKXOzS7KvcdEvbJ9UFF8FSN28qLURlLsM=; b=r/BE0zny97JQNZES0rSd3CZ1Vs6UnxnbtVYK20i0sQvHHcCUEEILdGrcoTwdTvoNtj Qdef803TTyOg7bo+8JXSZefC5hnEm8Egth1kwD/KCHtDMa0Lz+DRhUdVygEqT/kOC4Ce NRjd3IeOkI3oQ6N7X4+bhfLAQN9f6XJwhvRQ1JwYRrrSuJueXtlaIGWZDd8tMIr1iA3f 5YhfyVz1eVtsG1AX5Tf8KuRRdm2rOCsxyDSwnKAoku2CQe12oPOvXM6NjfXjLyLMVBVp jyv8MbZF0qXBp7caElMJSLKgap9UO0J6TGJXI0LEAuEqlwMBLvbGfXajbttgKC91adOA fJoQ== X-Gm-Message-State: AA+aEWZOeHpEOHC7yDPKK3miGJozt3hbCZBIRj28OjK4hpNHuxSuz8Wm ifb3x2T9kABp9zVv1Cunch60ZA== X-Google-Smtp-Source: AFSGD/VmXEUlkl5Ae3VeShdnHinPteKJ13HTTRlnPIyZdTd6i7YKMAG5xcLi9XC7fxdmMRb4xks4gw== X-Received: by 2002:a17:902:5a4d:: with SMTP id f13mr23842785plm.49.1543992603477; Tue, 04 Dec 2018 22:50:03 -0800 (PST) Received: from localhost.localdomain (125-227-158-176.HINET-IP.hinet.net. [125.227.158.176]) by smtp.gmail.com with ESMTPSA id c13sm36995220pfe.93.2018.12.04.22.50.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Dec 2018 22:50:03 -0800 (PST) From: Jian-Hong Pan To: Jaroslav Kysela , Takashi Iwai Date: Wed, 5 Dec 2018 14:48:55 +0800 Message-Id: <20181205064856.19380-3-jian-hong@endlessm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20181205064856.19380-1-jian-hong@endlessm.com> References: <20181205064856.19380-1-jian-hong@endlessm.com> Cc: alsa-devel@alsa-project.org, Kailang Yang , Chris Chiu , linux-kernel@vger.kernel.org, Daniel Drake , Hui Wang , Jian-Hong Pan , linux@endlessm.com Subject: [alsa-devel] [PATCH 3/4] ALSA: hda/realtek: Fix mic issue on Acer AIO Veriton Z4660G X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP From: Chris Chiu Acer AIO Veriton Z4660G with ALC286 codec has issue with the input from external microphones connecting via 'Front Mic' jack. The fixup ALC286_FIXUP_ACER_AIO_MIC_NO_PRESENCE enables the jack sensing of the headset and fix the audio input issue of external microphone. Signed-off-by: Jian-Hong Pan Signed-off-by: Daniel Drake Signed-off-by: Chris Chiu --- sound/pci/hda/patch_realtek.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 5a7a297546db..98f0abaa3540 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -6419,6 +6419,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x1025, 0x079b, "Acer Aspire V5-573G", ALC282_FIXUP_ASPIRE_V5_PINS), SND_PCI_QUIRK(0x1025, 0x102b, "Acer Aspire C24-860", ALC286_FIXUP_ACER_AIO_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x1025, 0x106d, "Acer Cloudbook 14", ALC283_FIXUP_CHROME_BOOK), + SND_PCI_QUIRK(0x1025, 0x1291, "Acer Veriton Z4660G", ALC286_FIXUP_ACER_AIO_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x1028, 0x0470, "Dell M101z", ALC269_FIXUP_DELL_M101Z), SND_PCI_QUIRK(0x1028, 0x054b, "Dell XPS one 2710", ALC275_FIXUP_DELL_XPS), SND_PCI_QUIRK(0x1028, 0x05bd, "Dell Latitude E6440", ALC292_FIXUP_DELL_E7X), From patchwork Wed Dec 5 06:48:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jian-Hong Pan X-Patchwork-Id: 10713093 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A24D2109C for ; Wed, 5 Dec 2018 06:51:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 916A72C81E for ; Wed, 5 Dec 2018 06:51:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 84EBA2C839; Wed, 5 Dec 2018 06:51:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D81912C81E for ; Wed, 5 Dec 2018 06:51:04 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 7256F267BE6; Wed, 5 Dec 2018 07:51:01 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 85320267BCC; Wed, 5 Dec 2018 07:50:12 +0100 (CET) Received: from mail-pl1-f193.google.com (mail-pl1-f193.google.com [209.85.214.193]) by alsa0.perex.cz (Postfix) with ESMTP id 25DF5267BDB for ; Wed, 5 Dec 2018 07:50:07 +0100 (CET) Received: by mail-pl1-f193.google.com with SMTP id u6so9573727plm.8 for ; Tue, 04 Dec 2018 22:50:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=endlessm-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=NICxO42MTuk11nZouZy7EA5/58Wtx/LRj/N1ucvXv8M=; b=XpbRT8OgvxavPUz734vfsrZWQl4Njl029lCeaUUpdQPQMH+7/J2AvGTrl8l5Za/yZU V1lU4itFjcpJ/2X72WVH82IrZu3tJe9hv6DxfS49JdZ47/jwPcqkh15fsrfhFLMTD+d8 MZ0yq4LPXRxc4vIypREBB2OPPT4a6xFhUOhT5W+cxLoPf6jcsEOvrtrc6nzYTHzh8/B3 URav3+LT8zkSuDCFF6zF94vMRRwhFCw0L0ep9DebJMWyOh/9v+U0VffGDqOtJmu5G2qY j7ak99zPOKmaaD4nUZWUhuxpJzDL9gNf4EwrbCKfNZeAQtm4m7nIdUDzI8wdBm0SNoFS JMGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=NICxO42MTuk11nZouZy7EA5/58Wtx/LRj/N1ucvXv8M=; b=l5bQmzDfQvZ4Q2ueZZRep6YUwh908tPbZNZQKyCMHiXblPrSvqOSgGo9AGuCnEpwEx Ffoomlyqme/5RfipkKT9gY8mNualVgDWz97vQ0e0YTGO80RXjcR2lShQNCLJQx6NVPcx HK/+PHwDTPK/ByssuKuLkR5VmrmrtGr5cXu6JFonNfRrSmw3yZSy72HziZn+AexAlxmv ddPQGJ9yHrhtkbYyd4ya/c3yrAiNj/7CLcoD0n23J78JveGC3CiYd773v4Oj+xtAC/zf rmkSMcV9pzZcmvzjpPzcd00VI3iEh0f89+ogwrOVtNvRzKOOL7MfwCBnP2oY6LmoidTl e69g== X-Gm-Message-State: AA+aEWZ9iZuOY6epCxzRRikjiLXJSnoEfORUXwSlx4GoZO17cf86TaRf D2DjX4WY0Y0C7nZ+kY+BR3yMmQ== X-Google-Smtp-Source: AFSGD/UCaK3Pv9WIHM1Vp2RKrfJKjJY823IifWd3CsP1Cx/RYoIu1Toj+J+MriVPhdmNyznt3AfjXA== X-Received: by 2002:a17:902:2862:: with SMTP id e89mr23406737plb.158.1543992606608; Tue, 04 Dec 2018 22:50:06 -0800 (PST) Received: from localhost.localdomain (125-227-158-176.HINET-IP.hinet.net. [125.227.158.176]) by smtp.gmail.com with ESMTPSA id c13sm36995220pfe.93.2018.12.04.22.50.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Dec 2018 22:50:06 -0800 (PST) From: Jian-Hong Pan To: Jaroslav Kysela , Takashi Iwai Date: Wed, 5 Dec 2018 14:48:56 +0800 Message-Id: <20181205064856.19380-4-jian-hong@endlessm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20181205064856.19380-1-jian-hong@endlessm.com> References: <20181205064856.19380-1-jian-hong@endlessm.com> Cc: alsa-devel@alsa-project.org, Kailang Yang , Chris Chiu , linux-kernel@vger.kernel.org, Daniel Drake , Hui Wang , Jian-Hong Pan , linux@endlessm.com Subject: [alsa-devel] [PATCH 4/4] ALSA: hda/realtek: Fix mic issue on Acer AIO Veriton Z4860G/Z6860G X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP From: Chris Chiu Acer AIO Veriton Z4860G/Z6860G with the same ALC286 codec has issues with the input from external microphone. The issue can be fixed by the fixup ALC286_FIXUP_ACER_AIO_MIC_NO_PRESENCE for Veriton Z4660G. Signed-off-by: Jian-Hong Pan Signed-off-by: Daniel Drake Signed-off-by: Chris Chiu --- sound/pci/hda/patch_realtek.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 98f0abaa3540..bb40624fb6d5 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -6419,6 +6419,8 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x1025, 0x079b, "Acer Aspire V5-573G", ALC282_FIXUP_ASPIRE_V5_PINS), SND_PCI_QUIRK(0x1025, 0x102b, "Acer Aspire C24-860", ALC286_FIXUP_ACER_AIO_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x1025, 0x106d, "Acer Cloudbook 14", ALC283_FIXUP_CHROME_BOOK), + SND_PCI_QUIRK(0x1025, 0x128f, "Acer Veriton Z6860G", ALC286_FIXUP_ACER_AIO_MIC_NO_PRESENCE), + SND_PCI_QUIRK(0x1025, 0x1290, "Acer Veriton Z4860G", ALC286_FIXUP_ACER_AIO_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x1025, 0x1291, "Acer Veriton Z4660G", ALC286_FIXUP_ACER_AIO_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x1028, 0x0470, "Dell M101z", ALC269_FIXUP_DELL_M101Z), SND_PCI_QUIRK(0x1028, 0x054b, "Dell XPS one 2710", ALC275_FIXUP_DELL_XPS),