From patchwork Fri Mar 22 03:37:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jian-Hong Pan X-Patchwork-Id: 10864871 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 0FF05922 for ; Fri, 22 Mar 2019 03:42:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DF64B2A5B7 for ; Fri, 22 Mar 2019 03:42:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D3A0B2A5CF; Fri, 22 Mar 2019 03:42:26 +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.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,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]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id AEE242A5B7 for ; Fri, 22 Mar 2019 03:42:25 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 2A82A9F8; Fri, 22 Mar 2019 04:41:33 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 2A82A9F8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1553226143; bh=p1Vao5noQt2ilWOro9Tp0IkMu7lOdeGFogKWUAC1NJc=; h=From:To:Date:Cc:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=cd8d6FwOQ5GK4wSfReHzGhfMNjXd7sjKAeV2tMBjTw6Sb4VQhQVCwpmEfhkbDT26g waW9CzX3ugrvlxbDzoLOw1Jm83lBcNuH00gi3vzZNwXwqr7Lq+yKLc+cl3seMddU+H DgXpuNCgMm2yf7YLvkt/kNz5Cm40SikeKV9qlpDA= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 9DC10F89674; Fri, 22 Mar 2019 04:41:32 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id 90FCBF89678; Fri, 22 Mar 2019 04:41:30 +0100 (CET) Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 38888F8076F for ; Fri, 22 Mar 2019 04:41:26 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 38888F8076F Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=endlessm-com.20150623.gappssmtp.com header.i=@endlessm-com.20150623.gappssmtp.com header.b="k7ozUAUd" Received: by mail-pf1-x441.google.com with SMTP id i19so570324pfd.0 for ; Thu, 21 Mar 2019 20:41:26 -0700 (PDT) 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:mime-version :content-transfer-encoding; bh=clZMkpeTShj1B8W+xPbB9E++esPvww+cHpjnyKa9i20=; b=k7ozUAUd06neIXna2xpfnaD+KaNYavnaZr7GfKRXqg/OA6K2UPBHI3cMTo6czrBsiB wM/QPjBTvnFBr+oEy9NKSuYXdE/FvHRsRvOc5CAhTzlTm8dRWpbdCGVkcEoxqbUaicec CIGohya6n52lULRgLYBM+QyZ0lCgoSiHlvvVizmpC0I7OhOi3goqZd7Ui0rz63+pPpTX bkvGeKJgiBObe/GAizon/gpHCiTSKcudraAiU6+jJ6EVaSp+IpeurZQXZbJjnC2KN/JZ A5sA857Bz0kLO3xTfsh9AXSgH83GxtGjwPHOmX4lMge9Au2yqOpZGqSWSsiD6UgrbP2g 3ZXA== 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:mime-version :content-transfer-encoding; bh=clZMkpeTShj1B8W+xPbB9E++esPvww+cHpjnyKa9i20=; b=tDhm+kjdM/97V7fDZ0NXThIXPI470jUi669dGrbM4FI8un+Bvv//xEEg7aTcipkXbM 13Xz68wzAgXVKjNXKMhK28UkYAomNw1+wWPYRkiZbNl2Xbvn00ZEKjr+2j28TDTqAMDR P7zJxPT/UZ5nm7PBuEGcur2qAYwrv9Gv7/07sLv9anLkFa3cwrBNAP9nkNERWLOqwasR fBqdlBPLQxIIS2qce6yOZNjId0dM8tsyFNMCBTKqKEA2U2CRPCO9U4MPSuxyXLUy0+zk Y1vBrpwXdKmOvHUTXw8uYYf9MrYEG2r7C5f9GhdSatDJKCrD/cSuNOXUfvu6eZ4QABCr RgHg== X-Gm-Message-State: APjAAAVdldKLLdX0sn+lmencHDD0tfeolk+L3TeT7b0tc6AyJ4ozComY GJMyGtc/Q5Te3Xbnxx82/o1qcw== X-Google-Smtp-Source: APXvYqzufuWzH02wuXsinHUee1llsSkXq93j0zrq0SR9CIN/m4hmHI4R/mVkRBGcg8Y/lyc7iD39tA== X-Received: by 2002:a62:55c7:: with SMTP id j190mr6765066pfb.226.1553226084652; Thu, 21 Mar 2019 20:41:24 -0700 (PDT) Received: from localhost.localdomain (123-204-46-122.static.seed.net.tw. [123.204.46.122]) by smtp.gmail.com with ESMTPSA id g2sm14028826pfm.144.2019.03.21.20.41.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Mar 2019 20:41:24 -0700 (PDT) From: Jian-Hong Pan To: Takashi Iwai Date: Fri, 22 Mar 2019 11:37:18 +0800 Message-Id: <20190322033719.10793-1-jian-hong@endlessm.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Cc: alsa-devel@alsa-project.org, Kailang Yang , Chris Chiu , linux-kernel@vger.kernel.org, Daniel Drake , Jian-Hong Pan , linux@endlessm.com Subject: [alsa-devel] [PATCH 1/3] ALSA: hda/realtek: Enable ASUS X441MB and X705FD headset MIC with ALC256 X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" X-Virus-Scanned: ClamAV using ClamSMTP The ASUS laptop X441MB and X705FD with ALC256 cannot detect the headset MIC until ALC256_FIXUP_ASUS_MIC_NO_PRESENCE quirk applied. Signed-off-by: Chris Chiu Signed-off-by: Daniel Drake Signed-off-by: Jian-Hong Pan --- 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 89a96442eb07..2523e495924e 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -5688,6 +5688,7 @@ enum { ALC225_FIXUP_WYSE_AUTO_MUTE, ALC225_FIXUP_WYSE_DISABLE_MIC_VREF, ALC286_FIXUP_ACER_AIO_HEADSET_MIC, + ALC256_FIXUP_ASUS_MIC_NO_PRESENCE, }; static const struct hda_fixup alc269_fixups[] = { @@ -6696,6 +6697,15 @@ static const struct hda_fixup alc269_fixups[] = { .chained = true, .chain_id = ALC286_FIXUP_ACER_AIO_MIC_NO_PRESENCE }, + [ALC256_FIXUP_ASUS_MIC_NO_PRESENCE] = { + .type = HDA_FIXUP_PINS, + .v.pins = (const struct hda_pintbl[]) { + { 0x19, 0x04a11120 }, /* use as headset mic, without its own jack detect */ + { } + }, + .chained = true, + .chain_id = ALC256_FIXUP_ASUS_HEADSET_MODE + }, }; static const struct snd_pci_quirk alc269_fixup_tbl[] = { @@ -7333,6 +7343,10 @@ static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = { {0x14, 0x90170110}, {0x1b, 0x90a70130}, {0x21, 0x03211020}), + SND_HDA_PIN_QUIRK(0x10ec0256, 0x1043, "ASUS", ALC256_FIXUP_ASUS_MIC_NO_PRESENCE, + {0x1a, 0x90a70130}, + {0x1b, 0x90170110}, + {0x21, 0x03211020}), SND_HDA_PIN_QUIRK(0x10ec0274, 0x1028, "Dell", ALC274_FIXUP_DELL_AIO_LINEOUT_VERB, {0x12, 0xb7a60130}, {0x13, 0xb8a61140}, From patchwork Fri Mar 22 03:37:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jian-Hong Pan X-Patchwork-Id: 10864873 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 DF551922 for ; Fri, 22 Mar 2019 03:43:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B3EE32A5B7 for ; Fri, 22 Mar 2019 03:43:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A57062A5CF; Fri, 22 Mar 2019 03:43:28 +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.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,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]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 03C6C2A5B7 for ; Fri, 22 Mar 2019 03:43:27 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 1804015EA; Fri, 22 Mar 2019 04:42:36 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 1804015EA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1553226206; bh=Jipsn7Q2+9QydmSaBuxDGRgpexcbJq+HhPmJGcFqpRY=; h=From:To:Date:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=mMYRGWqejEU3y7gpDUeJVNN0SrNERJTPEsN68pjFWGZp5mD8CH8TxTbZTgDt2jX5P 3hdoval/1A0LyktxDiDnbaRmWMQH/qNdg/jYWPahc0aec1gUqWQrvUQrOfGI3//HoW 5nVVDr6/zo7H8iIsxIObTIDOLHVlPEgmxGiSwQKI= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id A88E4F89714; Fri, 22 Mar 2019 04:42:13 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id 2F734F89715; Fri, 22 Mar 2019 04:42:12 +0100 (CET) Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 67141F8078F for ; Fri, 22 Mar 2019 04:42:09 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 67141F8078F Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=endlessm-com.20150623.gappssmtp.com header.i=@endlessm-com.20150623.gappssmtp.com header.b="IkwMEo7j" Received: by mail-pf1-x444.google.com with SMTP id 10so556329pfo.5 for ; Thu, 21 Mar 2019 20:42:08 -0700 (PDT) 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 :mime-version:content-transfer-encoding; bh=BRoNWiacASKELC27SN7jRyI+1nU6xbCdCMXI5FoGH1E=; b=IkwMEo7j//e5OsAaFwJaqPQYZAf5HukkCfjrMgTUif5IxqgVm31XgPVzE4cq8N5JxU kuS2vb/RRl6AZ198zN/02jv25pB/KYg7RDTTzWGE8rdWCHP3m/fEWIB7FUHe20GDnq4G 5xxpB7EsZJg7iPPY8uceoTIsXNIzS+uBXw7ZQ2oj68xCuJVO/aW/j9Q/JIDPaDVoSxiZ stihYiTIsMphrMcXBVX78HappG59M702ZHEcN9R21yB/j+MUttVvJaqFKsDIKEYQLW5T By2hiJZbZv/t6QJHZ6+WkKL0QRLZfV8nxLPbY0JO64QxYSq4FQ9fO5g1SDZmnrN9g3Zm /w7A== 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:mime-version:content-transfer-encoding; bh=BRoNWiacASKELC27SN7jRyI+1nU6xbCdCMXI5FoGH1E=; b=GJzufA6zByaMIinK0nvnXm0xL+R0gW+TYawK5WdDpVcEP61XBZW9xXavRTdDS2yhKH WLUjN7L8nk9PglQvYI6eUtFAzszdjHnUwyfd+xaw3b0gXASkr7Bjj3QxyUbxDye16CrQ VeRAsAFwRj3HLTRT0gew4A95urzfUeJNzIaXbPtvFHszu4sk2/ejNfldM7owFBs9xple i0ZuwmauLs8wUtW4kFstG9yU5R7Er9WX1xKXyV/eP+7rl7qF2mNS7R7bkg1SyQCzTqyI EsN0wWF3PMGkk9JipLy1lH1egJLz741dAWM9HaqHkZVMRhsZBleH/nyObnaUVRmy5bxR 9a4Q== X-Gm-Message-State: APjAAAXAWk2HNjuLyorvda+rrrXY8z6eDBprCqOx5rmvoi20SlQEfUmB USoHUD6lPsk2k25VsLhZOic6+g== X-Google-Smtp-Source: APXvYqwEN6ZQdAzQz2YcoQgGEm4wfTRXh+5aduUtXaJX4Ty2PD6tYLMC3DWkEVC3xLZ2wWrDrlVPcQ== X-Received: by 2002:a17:902:b707:: with SMTP id d7mr7176224pls.91.1553226127495; Thu, 21 Mar 2019 20:42:07 -0700 (PDT) Received: from localhost.localdomain (123-204-46-122.static.seed.net.tw. [123.204.46.122]) by smtp.gmail.com with ESMTPSA id g2sm14028826pfm.144.2019.03.21.20.42.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Mar 2019 20:42:06 -0700 (PDT) From: Jian-Hong Pan To: Takashi Iwai Date: Fri, 22 Mar 2019 11:37:20 +0800 Message-Id: <20190322033719.10793-2-jian-hong@endlessm.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190322033719.10793-1-jian-hong@endlessm.com> References: <20190322033719.10793-1-jian-hong@endlessm.com> MIME-Version: 1.0 Cc: alsa-devel@alsa-project.org, Kailang Yang , Chris Chiu , linux-kernel@vger.kernel.org, Daniel Drake , Jian-Hong Pan , linux@endlessm.com Subject: [alsa-devel] [PATCH 2/3] ALSA: hda/realtek: Enable headset mic of ASUS P5440FF with ALC256 X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Chris Chiu The ASUS laptop P5440FF with ALC256 can't detect the headset microphone until ALC256_FIXUP_ASUS_MIC_NO_PRESENCE quirk applied. Signed-off-by: Chris Chiu Signed-off-by: Daniel Drake Signed-off-by: Jian-Hong Pan --- sound/pci/hda/patch_realtek.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 2523e495924e..b8efb20916ba 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -7343,6 +7343,10 @@ static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = { {0x14, 0x90170110}, {0x1b, 0x90a70130}, {0x21, 0x03211020}), + SND_HDA_PIN_QUIRK(0x10ec0256, 0x1043, "ASUS", ALC256_FIXUP_ASUS_MIC_NO_PRESENCE, + {0x12, 0x90a60130}, + {0x14, 0x90170110}, + {0x21, 0x03211020}), SND_HDA_PIN_QUIRK(0x10ec0256, 0x1043, "ASUS", ALC256_FIXUP_ASUS_MIC_NO_PRESENCE, {0x1a, 0x90a70130}, {0x1b, 0x90170110}, From patchwork Fri Mar 22 03:37:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jian-Hong Pan X-Patchwork-Id: 10864875 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 EF8D6922 for ; Fri, 22 Mar 2019 03:44:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BDF4428C76 for ; Fri, 22 Mar 2019 03:44:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AC42228C9B; Fri, 22 Mar 2019 03:44:14 +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.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,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]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D9A9728C76 for ; Fri, 22 Mar 2019 03:44:13 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 2A21215EE; Fri, 22 Mar 2019 04:43:22 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 2A21215EE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1553226252; bh=10YV67sYTLrDqS+T/vHBAPWEfdPr3QVroofdSEGuH58=; h=From:To:Date:In-Reply-To:References:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=bq6zRj0RvmnFazp9NgHHzCxmNNmQWCn13hnO/JxvucOmcCRaPtMa5kW315tlpvW1W 7ZLqVGFCb+Z002I9peafANK3guV4MdBTLUP0N7YxeL+OOcMTVZc6eft+PYK9uRKn3T 7WaC2er2qzb7pJ4nJQH4ql20w2Gl2Xi/CHAJeAc0= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id C78B8F89684; Fri, 22 Mar 2019 04:42:56 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id C5D91F896AA; Fri, 22 Mar 2019 04:42:54 +0100 (CET) Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 263B1F89674 for ; Fri, 22 Mar 2019 04:42:51 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 263B1F89674 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=endlessm-com.20150623.gappssmtp.com header.i=@endlessm-com.20150623.gappssmtp.com header.b="aVWyXbT0" Received: by mail-pg1-x541.google.com with SMTP id l11so506127pgq.10 for ; Thu, 21 Mar 2019 20:42:51 -0700 (PDT) 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 :mime-version:content-transfer-encoding; bh=1M2sFDfk6+MiOYr7J7OGqVMfGnaLzwrDZ9t2ITrAcQY=; b=aVWyXbT0a/4rS11uCRM5RNZFwj9ZbZcHhV14FHeDzJjBTlOkzulnRgXRXeCZgxtytM SHspYAGlc6WlFtxb8yQ00gLmUVqTTgowTSXI6ntOQjNA4KRx7x+0i3TWsn9P6E4ZSjO0 ix45JAOweaEksoxVesHP7s54gAxkHW2relgm/SUtiWwHc4f4q5wlOGK6vd9gsZAK5DpB /8Ww+Dc7W6AZb/MwmqPlBirP1WVxxqqsqUYlFYT6Lwo9khhYvZuTEQX2Bl2jXR0ygqyH gWwO3LG6eAamP4HPNAe3LSgq7xYsfokUxuXODUmy+TuRVMNA6lOn+JXM5aZKZVdNmO9y t6Hg== 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:mime-version:content-transfer-encoding; bh=1M2sFDfk6+MiOYr7J7OGqVMfGnaLzwrDZ9t2ITrAcQY=; b=XhHE5AVWyL/TPt6aoOrHADDyOekVQcL5ns9xKNqki9BN/47sGoa3j9R6x3HyTOaoe1 G+ZZd4E+VDhnQZk3g2O4m0syVtLujLnCAJTI9kOW9sKMQQagda2jdUjgzfgYZiw+epag esTd7CCR3X0J0M83fBk++fuMLqUkiMROs1DgSTpwl2XHLZx6xzCef5caCIeOTSNxDKIC EikdxOvbwMLrRGnPrCcbYZ8U8jk0XdCVsToywFz8gdYmCdw1cBjw2rw0a33fM0uLTMIN LlqxOAZ6jjlo1o7D99Z3YHZtVuX5nuHQfEuI8VYkzDLgQT+v73gVSive55GKSXMczIql hzJQ== X-Gm-Message-State: APjAAAU5YXLVr7PPzVUOof9/9Dw6nO5Tkkdoi0VBk8kfKI5mNPNleW6a 4Ozm3LQ2lKDI190v4yUHviuwmw== X-Google-Smtp-Source: APXvYqxV2ldvM/A8o6d/IF13JK6AzL8vqOzwryJLd/BMdL0tyc8Xk8kTsGSNhbRCuMb/IS9c3OkTyA== X-Received: by 2002:a65:4381:: with SMTP id m1mr6316927pgp.97.1553226170170; Thu, 21 Mar 2019 20:42:50 -0700 (PDT) Received: from localhost.localdomain (123-204-46-122.static.seed.net.tw. [123.204.46.122]) by smtp.gmail.com with ESMTPSA id g2sm14028826pfm.144.2019.03.21.20.42.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Mar 2019 20:42:49 -0700 (PDT) From: Jian-Hong Pan To: Takashi Iwai Date: Fri, 22 Mar 2019 11:37:22 +0800 Message-Id: <20190322033719.10793-3-jian-hong@endlessm.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190322033719.10793-1-jian-hong@endlessm.com> References: <20190322033719.10793-1-jian-hong@endlessm.com> MIME-Version: 1.0 Cc: alsa-devel@alsa-project.org, Kailang Yang , linux-kernel@vger.kernel.org, Daniel Drake , Jian-Hong Pan , linux@endlessm.com Subject: [alsa-devel] [PATCH 3/3] ALSA: hda/realtek: Enable headset MIC of ASUS X430UN and X512DK with ALC256 X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" X-Virus-Scanned: ClamAV using ClamSMTP The ASUS X430UN and X512DK with ALC256 cannot detect the headset MIC until ALC256_FIXUP_ASUS_MIC_NO_PRESENCE quirk applied. Signed-off-by: Jian-Hong Pan Signed-off-by: Daniel Drake --- sound/pci/hda/patch_realtek.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index b8efb20916ba..af0b1bd650f8 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -7347,6 +7347,10 @@ static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = { {0x12, 0x90a60130}, {0x14, 0x90170110}, {0x21, 0x03211020}), + SND_HDA_PIN_QUIRK(0x10ec0256, 0x1043, "ASUS", ALC256_FIXUP_ASUS_MIC_NO_PRESENCE, + {0x12, 0x90a60130}, + {0x14, 0x90170110}, + {0x21, 0x04211020}), SND_HDA_PIN_QUIRK(0x10ec0256, 0x1043, "ASUS", ALC256_FIXUP_ASUS_MIC_NO_PRESENCE, {0x1a, 0x90a70130}, {0x1b, 0x90170110},