From patchwork Wed Dec 5 07:42:10 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: 10713131 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 8744C14E2 for ; Wed, 5 Dec 2018 07:52:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7983B2CC6A for ; Wed, 5 Dec 2018 07:52:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 69D592CC7C; Wed, 5 Dec 2018 07:52:53 +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 65A622CC6F for ; Wed, 5 Dec 2018 07:52:48 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id D025E267BE4; Wed, 5 Dec 2018 08:43:43 +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 7A56E267BE8; Wed, 5 Dec 2018 08:43:26 +0100 (CET) Received: from mail-pg1-f193.google.com (mail-pg1-f193.google.com [209.85.215.193]) by alsa0.perex.cz (Postfix) with ESMTP id 962B8267B99 for ; Wed, 5 Dec 2018 08:43:22 +0100 (CET) Received: by mail-pg1-f193.google.com with SMTP id 80so8623530pge.4 for ; Tue, 04 Dec 2018 23:43:22 -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=EBqVvozobDiK8rTN862YjwPLK1Ridu5isMm/vw4kerU=; b=eRWv3+QfhcOwyIKEqwVdHFJA8fA0aq2bMyyOSni5c9b7FkSaqd7CI2oXqDejgkRqiI o2KqA+jE2OGfpMyCS/5r6kym6BliZy3hCAjC0ZF0BgSttmBtpkxBDyxc+sI4qql3Alag 1Kj+lS8wHqfXBNVQhTu5oj7MEyxVK4PrAetg5ZGaWZ+WgfLJEmcA4D+osAzWJCFZCVor yMbuvGINL7Muq7RhKKt/9I3prgsC1BOtaHMMhJp5J+/vw3qyP7hfTv6GbeZsc+582du7 2SL7YVHCtcDR2jvhSVNPj2dOuS+N+Fak7BhZmzwLu9wJ+j+HgBilI776jvIFrDWEoR0j CbAA== 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=EBqVvozobDiK8rTN862YjwPLK1Ridu5isMm/vw4kerU=; b=ciTnF9TQRuhKplz5zATUAtjX4t6rBuGCsIHlMstGBbovHmXF6SnKdvHHqvVwakRbZ+ fFm13XUnjzos64F3Ec72WFwFHBYTimnSfJDQ1xJaxw3vJ5niXGZWdhhUHtLTN4e2HdvI Y8/TrhOyuj5kEkBI8c7jvPNv1PVSOx8Mc0MqhPTgCn5oUBbYcKDT8BChgB65Ow5rASo+ X+xX0ws+n/DgjvBb7iWY95tiu4fMrF94jA9fCAWTYyq1HhajCLqKMEnW7U0HKozTXKnw dxZID80P7rT4o1QE7yShGzBeu4oKohwIgO7lemi4b9WIbJTyHORRsGgDnniJVx3GUIup lBjw== X-Gm-Message-State: AA+aEWan1jL6crVDq/O7b4QCpSa0wR7MsQVTfo6FocUBLcHbgAVQkZL/ l79/QAaHg/XeWTTFOj9IAOxnww== X-Google-Smtp-Source: AFSGD/WdIECFKFO/HH8HqGKGc65LSQ2jFWzVZtMWlHsqhQzGcJxLkNlOEXFK62MgWiZP4a6gyA2wkA== X-Received: by 2002:a63:1560:: with SMTP id 32mr19084145pgv.383.1543995801150; Tue, 04 Dec 2018 23:43:21 -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 m76sm22473535pfi.102.2018.12.04.23.43.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Dec 2018 23:43:20 -0800 (PST) From: Jian-Hong Pan To: Jaroslav Kysela , Takashi Iwai Date: Wed, 5 Dec 2018 15:42:10 +0800 Message-Id: <20181205074212.31104-2-jian-hong@endlessm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20181205074212.31104-1-jian-hong@endlessm.com> References: <20181205074212.31104-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 1/3] ALSA: hda/realtek: ALC294 mic and headset-mode fixups for ASUS X542UN 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 known ALC256_FIXUP_ASUS_MIC fixup can fix the headphone jack sensing and enable use of the internal microphone on this laptop X542UN. However, it's ALC294 so create a new fixup named ALC294_FIXUP_ASUS_MIC to avoid confusion. 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 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index bb40624fb6d5..bbae06267054 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -5517,6 +5517,7 @@ enum { ALC285_FIXUP_LENOVO_HEADPHONE_NOISE, ALC295_FIXUP_HP_AUTO_MUTE, ALC286_FIXUP_ACER_AIO_MIC_NO_PRESENCE, + ALC294_FIXUP_ASUS_MIC, }; static const struct hda_fixup alc269_fixups[] = { @@ -6403,6 +6404,16 @@ static const struct hda_fixup alc269_fixups[] = { .chained = true, .chain_id = ALC269_FIXUP_HEADSET_MIC }, + [ALC294_FIXUP_ASUS_MIC] = { + .type = HDA_FIXUP_PINS, + .v.pins = (const struct hda_pintbl[]) { + { 0x13, 0x90a60160 }, /* use as internal mic */ + { 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[] = { @@ -7152,6 +7163,10 @@ static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = { SND_HDA_PIN_QUIRK(0x10ec0293, 0x1028, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE, ALC292_STANDARD_PINS, {0x13, 0x90a60140}), + SND_HDA_PIN_QUIRK(0x10ec0294, 0x1043, "ASUS", ALC294_FIXUP_ASUS_MIC, + {0x14, 0x90170110}, + {0x1b, 0x90a70130}, + {0x21, 0x04211020}), SND_HDA_PIN_QUIRK(0x10ec0295, 0x1028, "Dell", ALC269_FIXUP_DELL1_MIC_NO_PRESENCE, ALC295_STANDARD_PINS, {0x17, 0x21014020}, From patchwork Wed Dec 5 07:42:11 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: 10713129 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 7772A109C for ; Wed, 5 Dec 2018 07:52:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5E36F2CC75 for ; Wed, 5 Dec 2018 07:52:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 518562CC76; Wed, 5 Dec 2018 07:52:53 +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 522622CC6A for ; Wed, 5 Dec 2018 07:52:48 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 3AB9F267BEE; Wed, 5 Dec 2018 08:44:09 +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 4B13E267BE4; Wed, 5 Dec 2018 08:43:34 +0100 (CET) Received: from mail-pf1-f196.google.com (mail-pf1-f196.google.com [209.85.210.196]) by alsa0.perex.cz (Postfix) with ESMTP id 6E432267B99 for ; Wed, 5 Dec 2018 08:43:31 +0100 (CET) Received: by mail-pf1-f196.google.com with SMTP id c123so9605690pfb.0 for ; Tue, 04 Dec 2018 23:43:31 -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=T7zPdAgVX6NRDcQ+8jrRQikWxTheeKHpLyGIqsBRtP0=; b=jrXN55PBlIimDTxZ5ZB0IFPyaCjN+TfwfwEJziq06I9p9Wp+djjQzIGgEoOeDfqpmM pQ3cnbSN2bLPOUXipnx4XTSOC+DnziQLhmHVEY1EVeQ0pH39DJOtZApdP/us9VEc0QAv f1kgIY8nz3pRyksUPV9cFx6v81Voeqc/F6Xz/pkYPv6JdW4WaWcAoPtehrEaIFFTsko+ eRopTZ5csg83Diz0gXoY2rLHdxYlgfKc3IN5DsjIHq7a8EMN36cNHYZO6opeRVboWb+/ TNgEnSIwJwVydD1U24ZX5kIw0l1o/scWlUcyE6LK+phagao72QGPiJJ3hxQ+j50hcm8G XCCA== 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=T7zPdAgVX6NRDcQ+8jrRQikWxTheeKHpLyGIqsBRtP0=; b=Y1G5oTbvAoLeGXUyZxQFHLQZfARuWUsOPJpBH82hOmgXFq0pM8Xljah9LvsafJNSxJ kX9lAo2PoB6pJJFqoM98ldPzHjxur5r2Eb5OMP1hSsg8gt2W8W3nB7vN3vvQhJcTUoSi aVu95T85r35tHCmnJST00OSR9cCXTRIHQyy0aWkhUTgKY6Jruh/1yrhXEBwMHMaCzCSN qufkwXn93QqOjvVd+XVhoqfCis0b4zMJ3awz7xH+6BWf88GEpjzsGqtU9P6SqoHGfY74 bX3e7yi7ZrtrIeykVuEaYkDYyaCr6kE5u7D9yUQr9kbzNfKoaS460m+CJ1cNUsCnj1Nh GsSg== X-Gm-Message-State: AA+aEWaGyFMmAfofbth2SIzqDVkrtuP7NJt9iJojgSwj0TgGM63TY/OQ nYSFEa0kzrqO+GGr54lklNlkkuz1Rd/9gg== X-Google-Smtp-Source: AFSGD/VSU9fc2XL/lzkmt56ghb2OJm8Gkw2/6BO4BRqwEF68h4hZv6rJWLJQSg182rLY2wfgSTfJgA== X-Received: by 2002:a63:e302:: with SMTP id f2mr19864608pgh.320.1543995810770; Tue, 04 Dec 2018 23:43:30 -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 m76sm22473535pfi.102.2018.12.04.23.43.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Dec 2018 23:43:30 -0800 (PST) From: Jian-Hong Pan To: Jaroslav Kysela , Takashi Iwai Date: Wed, 5 Dec 2018 15:42:11 +0800 Message-Id: <20181205074212.31104-3-jian-hong@endlessm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20181205074212.31104-1-jian-hong@endlessm.com> References: <20181205074212.31104-1-jian-hong@endlessm.com> Cc: alsa-devel@alsa-project.org, Kailang Yang , linux-kernel@vger.kernel.org, Daniel Drake , Hui Wang , Jian-Hong Pan , linux@endlessm.com Subject: [alsa-devel] [PATCH 2/3] ALSA: hda/realtek: Enable audio jacks of ASUS UX533FD with ALC294 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 The ASUS UX533FD with ALC294 cannot detect the headset MIC and output through the internal speaker and the headphone until ALC294_FIXUP_ASUS_SPK_NOISE quirk applied. Signed-off-by: Daniel Drake Signed-off-by: Jian-Hong Pan --- 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 bbae06267054..5c25c8c3f703 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -5518,6 +5518,7 @@ enum { ALC295_FIXUP_HP_AUTO_MUTE, ALC286_FIXUP_ACER_AIO_MIC_NO_PRESENCE, ALC294_FIXUP_ASUS_MIC, + ALC294_FIXUP_ASUS_SPK_NOISE, }; static const struct hda_fixup alc269_fixups[] = { @@ -6414,6 +6415,17 @@ static const struct hda_fixup alc269_fixups[] = { .chained = true, .chain_id = ALC256_FIXUP_ASUS_HEADSET_MODE }, + [ALC294_FIXUP_ASUS_SPK_NOISE] = { + .type = HDA_FIXUP_VERBS, + .v.verbs = (const struct hda_verb[]) { + /* Set EAPD high */ + {0x20, AC_VERB_SET_COEF_INDEX, 0x10}, + {0x20, AC_VERB_SET_PROC_COEF, 0x14}, + {} + }, + .chained = true, + .chain_id = ALC255_FIXUP_ASUS_MIC_NO_PRESENCE + }, }; static const struct snd_pci_quirk alc269_fixup_tbl[] = { @@ -6556,6 +6568,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x1043, 0x12e0, "ASUS X541SA", ALC256_FIXUP_ASUS_MIC), SND_PCI_QUIRK(0x1043, 0x13b0, "ASUS Z550SA", ALC256_FIXUP_ASUS_MIC), SND_PCI_QUIRK(0x1043, 0x1427, "Asus Zenbook UX31E", ALC269VB_FIXUP_ASUS_ZENBOOK), + SND_PCI_QUIRK(0x1043, 0x14a1, "ASUS UX533FD", ALC294_FIXUP_ASUS_SPK_NOISE), SND_PCI_QUIRK(0x1043, 0x1517, "Asus Zenbook UX31A", ALC269VB_FIXUP_ASUS_ZENBOOK_UX31A), SND_PCI_QUIRK(0x1043, 0x16e3, "ASUS UX50", ALC269_FIXUP_STEREO_DMIC), SND_PCI_QUIRK(0x1043, 0x1a13, "Asus G73Jw", ALC269_FIXUP_ASUS_G73JW), From patchwork Wed Dec 5 07:42:12 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: 10713133 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 15B1A13BB for ; Wed, 5 Dec 2018 07:52:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 056F72CC74 for ; Wed, 5 Dec 2018 07:52:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ED1F52CC6F; Wed, 5 Dec 2018 07:52:57 +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 7FF512CC70 for ; Wed, 5 Dec 2018 07:52:48 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 4F871267BEB; Wed, 5 Dec 2018 08:44:23 +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 578AE267BE9; Wed, 5 Dec 2018 08:43:44 +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 E3361267BE2 for ; Wed, 5 Dec 2018 08:43:38 +0100 (CET) Received: by mail-pl1-f195.google.com with SMTP id y1so4841767plp.9 for ; Tue, 04 Dec 2018 23:43:38 -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=ZC4/m7gibONJZQJdomibLyw3V43dGO6FJLcqsmgjvFQ=; b=BSdb992TUd6eLoDLUnqLudsJMwHnK0vjXXOrwMNSL9u61/6SfDbivyEjMfasB+0jhq d4xHSxROqOUf9CaDt5JUP5CM0EmZ2yEiEQeaNDkJSOYR6XqzwqsQ3vQ35xHC5WQctfE5 30Rqfk1+KssaFrRfQDz3QnWbd7lWLPTIIPVINUAVisqm8TlnQhvZgmctPLWQo3AynXDa KuHk2ufy2Unlw4HpAdXCvMDNrXOxOXa1uoYEJAf2CYoxOPzVzW6/1/jyekKApZjgsK0W c5FdjMnmeC5HkQZlNywgye+96/U/e3Yqf038HI+J7n2bApFydQxEUmT8GT6MkBRnv0t5 mOxQ== 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=ZC4/m7gibONJZQJdomibLyw3V43dGO6FJLcqsmgjvFQ=; b=Y+A9iDMRGrs0Wqrl7rqzP6E/gK0u8fMxEFIxYHkhXC1F60mFCkMQhhDbGUibQsdfYq vtQTlXbbzOrE+B9hVCkJYJiGAb2qVti/b5YJ2iFSlLEIbDXj4f5L6gUn5LS9+GaLtfcV zZPTEjNVW/PRvp+vPcSAw6C/+2pzst0+t/AES8hG9VgFwPbWZ+wQ5EC036Qu3vtk+RM/ D4N/qP++t1OuFWqVF7N+kQcpOwoSb9KQG/suqi99F4mCtEvwDzk/SJjV8RYEONCIQiHA +jgC6EkuHxHV0W8c7gta+jGn0Qtk0TFO5PdaxM6H+DrovgYUxuhKSbNQR5qtxRGKxtOY HCqw== X-Gm-Message-State: AA+aEWYIOtt50a55Cf0YsVNjzD8jsxTaS9ET0Uf/0v78NdkGrYlhdXsU 3EeKk8rgzyqZdbOd2CiMznkeEA== X-Google-Smtp-Source: AFSGD/VJig05yuX+xTdWONwX3Qkd+jUAkIPqoeWuP6TCQJeI5QkzA08y3o/wFoJg6p4WyO9ov0vjOg== X-Received: by 2002:a17:902:a98c:: with SMTP id bh12mr23334449plb.31.1543995817606; Tue, 04 Dec 2018 23:43:37 -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 m76sm22473535pfi.102.2018.12.04.23.43.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Dec 2018 23:43:37 -0800 (PST) From: Jian-Hong Pan To: Jaroslav Kysela , Takashi Iwai Date: Wed, 5 Dec 2018 15:42:12 +0800 Message-Id: <20181205074212.31104-4-jian-hong@endlessm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20181205074212.31104-1-jian-hong@endlessm.com> References: <20181205074212.31104-1-jian-hong@endlessm.com> Cc: alsa-devel@alsa-project.org, Kailang Yang , linux-kernel@vger.kernel.org, Daniel Drake , Hui Wang , Jian-Hong Pan , linux@endlessm.com Subject: [alsa-devel] [PATCH 3/3] ALSA: hda/realtek: Enable audio jacks of ASUS UX433FN with ALC294 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 The ASUS UX433FN with ALC294 cannot detect the headset MIC and output through the internal speaker and the headphone until ALC294_FIXUP_ASUS_SPK_NOISE quirk applied. 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 5c25c8c3f703..56925140bfe6 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -7180,6 +7180,10 @@ static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = { {0x14, 0x90170110}, {0x1b, 0x90a70130}, {0x21, 0x04211020}), + SND_HDA_PIN_QUIRK(0x10ec0294, 0x1043, "ASUS", ALC294_FIXUP_ASUS_SPK_NOISE, + {0x12, 0x90a60130}, + {0x17, 0x90170110}, + {0x21, 0x04211020}), SND_HDA_PIN_QUIRK(0x10ec0295, 0x1028, "Dell", ALC269_FIXUP_DELL1_MIC_NO_PRESENCE, ALC295_STANDARD_PINS, {0x17, 0x21014020},