From patchwork Tue May 12 06:15:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jian-Hong Pan X-Patchwork-Id: 11542079 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 91BD514B4 for ; Tue, 12 May 2020 06:17:34 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 898C520736 for ; Tue, 12 May 2020 06:17:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="a45Ksm1d"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=endlessm-com.20150623.gappssmtp.com header.i=@endlessm-com.20150623.gappssmtp.com header.b="OnGZ+FXc" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 898C520736 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=endlessm.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org 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 36826950; Tue, 12 May 2020 08:16:45 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 36826950 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1589264251; bh=7O2G/ap4LdmeQCOhpThoSfE3UNR+vwHQeF08B1R7tV0=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=a45Ksm1dlNU9ofLkakajYXxBf0/eSSVss9ZJfOgmCY29gFNZL6BMNKljqDcQODpps tPI1JdmTAtugyhcYW16DxaBB7RJgobmqFA9zFDUuQdETvH6kBLB3pI4TxZON9qaHGX onoIq7l5n9v25aVXJXb86gdeRHmaGl21v/keQ58U= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 44EE1F80112; Tue, 12 May 2020 08:16:44 +0200 (CEST) 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 BE179F8014C; Tue, 12 May 2020 08:16:41 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from mail-pl1-x644.google.com (mail-pl1-x644.google.com [IPv6:2607:f8b0:4864:20::644]) (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 0A823F800AA for ; Tue, 12 May 2020 08:16:33 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 0A823F800AA 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="OnGZ+FXc" Received: by mail-pl1-x644.google.com with SMTP id u15so995696plm.2 for ; Mon, 11 May 2020 23:16:33 -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=BM7WTJ+qHi8yY8b7KAWbv88JG8UJulCC8C6JMceeobc=; b=OnGZ+FXckmCHP2iepPXFweAerr9YMNBlumuTJaRywQvBwbdOtLbtj0PPEACD6JWAs6 vVXEBeHISJxaMuaExta6ea+wem+0QLiTV2CwpegD8snEpn3t8O67B0g+FLWuToNrGzvj 7RSZomgqFPsshdznuwTfbqlUe+nh5/vEk6fTjOKVrCGxwBmc4FS1aALzByLaLaLFqEKY CY4BaS7T4BSwm//cL3yi/R5njWkny+i17MJtmwgVbHflewTa3N3LspbacGRvhGUdtnY3 USidUjuMHhcNPeF9a2tLOKucWnzfb0F7FDHwTXvg8UhBnbXtGPLLC84aASK4jsv/z1Hy j2qg== 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=BM7WTJ+qHi8yY8b7KAWbv88JG8UJulCC8C6JMceeobc=; b=DxZyt8RAKk3OnZxqMJj0gU/u+wA76LT744Th2gLfYh42dNn7P8BaQSPJt5KWpz7DWv vQ8XI+y1hAeW+fBMbHfIZYuIC5kZg3NrObCPTVhtONMAbmOnJtiwy6Pa+2mLNr/f9fxe sY1kLvHofoRYyeX8BLYG6RWb4ynEEr8xYWtg+EYUJcmugYeOAcj7ViE1g17/+wEt8b/P G4UicPKiC7oMK/K+qPGDgbbvhCv543e7yHzzDAYVCHAB7gtG6j9a9TJK0KlPwoCcV660 fzxgVYZxwkD98sKlL6rXDGDVUY+b8TlgCaodGbh015/RqCYFbha3v3Ql8Hrk4w+koVKE KXkg== X-Gm-Message-State: AGi0PubDIgZcuTgjwhmOB4mg4kRnrOp6l/8cahSoLBopop7+HvIUNEhr rcb3AlkSo/fXoHGiKTtwQKi4TQ== X-Google-Smtp-Source: APiQypJKwmiLgVWYFf4sho+PNadq3B0a3bAhRqtGKBEw3BL0rkIRCDS+bdoD7Qc6nFhDvIt8bPuwQQ== X-Received: by 2002:a17:90a:2fc8:: with SMTP id n8mr27720360pjm.159.1589264191146; Mon, 11 May 2020 23:16:31 -0700 (PDT) Received: from starnight.localdomain (123-204-46-122.static.seed.net.tw. [123.204.46.122]) by smtp.googlemail.com with ESMTPSA id m14sm9660554pgk.56.2020.05.11.23.16.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 May 2020 23:16:30 -0700 (PDT) From: Jian-Hong Pan To: Takashi Iwai Subject: [PATCH 1/3] ALSA: hda/realtek - Enable headset mic of ASUS GL503VM with ALC295 Date: Tue, 12 May 2020 14:15:24 +0800 Message-Id: <20200512061525.133985-1-jian-hong@endlessm.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Cc: alsa-devel@alsa-project.org, Chris Chiu , linux-kernel@vger.kernel.org, Daniel Drake , Jian-Hong Pan , linux@endlessm.com 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" From: Chris Chiu The ASUS laptop GL503VM with ALC295 can't detect the headset microphone. The headset microphone does not work until pin 0x19 is enabled for it. 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 c16f63957c5a..6c996df16201 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -6083,6 +6083,7 @@ enum { ALC285_FIXUP_HP_GPIO_LED, ALC285_FIXUP_HP_MUTE_LED, ALC236_FIXUP_HP_MUTE_LED, + ALC295_FIXUP_ASUS_MIC_NO_PRESENCE, }; static const struct hda_fixup alc269_fixups[] = { @@ -7216,6 +7217,15 @@ static const struct hda_fixup alc269_fixups[] = { .type = HDA_FIXUP_FUNC, .v.func = alc236_fixup_hp_mute_led, }, + [ALC295_FIXUP_ASUS_MIC_NO_PRESENCE] = { + .type = HDA_FIXUP_PINS, + .v.pins = (const struct hda_pintbl[]) { + { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */ + { } + }, + .chained = true, + .chain_id = ALC269_FIXUP_HEADSET_MODE + }, }; static const struct snd_pci_quirk alc269_fixup_tbl[] = { @@ -7993,6 +8003,10 @@ static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = { {0x12, 0x90a60130}, {0x17, 0x90170110}, {0x21, 0x03211020}), + SND_HDA_PIN_QUIRK(0x10ec0295, 0x1043, "ASUS", ALC295_FIXUP_ASUS_MIC_NO_PRESENCE, + {0x12, 0x90a60130}, + {0x17, 0x90170110}, + {0x21, 0x03211020}), SND_HDA_PIN_QUIRK(0x10ec0295, 0x1028, "Dell", ALC269_FIXUP_DELL4_MIC_NO_PRESENCE, {0x14, 0x90170110}, {0x21, 0x04211020}), From patchwork Tue May 12 06:15:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jian-Hong Pan X-Patchwork-Id: 11542081 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E4D1B14B4 for ; Tue, 12 May 2020 06:18:25 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 75E2720736 for ; Tue, 12 May 2020 06:18:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="HrSOSqpC"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=endlessm-com.20150623.gappssmtp.com header.i=@endlessm-com.20150623.gappssmtp.com header.b="GiFn5PvR" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 75E2720736 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=endlessm.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org 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 BB86E1661; Tue, 12 May 2020 08:17:37 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz BB86E1661 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1589264303; bh=XLeLx/dphbHqFok52C1f5ryP979Bxk/u5KQcRscz5VM=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=HrSOSqpCFZwKRCVCErYV7hqL3Gadjyfn0q5ymc02IxOe4A3tY8Bmrj/Z+esfypOCn Y6V5c1PbSc2c9pJKz9Y36WZD1GCZThsDYAEn1gkzWl3svgyDq7/2myOUQtySrLYFCJ RiDemUznpa/zWXMlmt3l2RCiLAMjMsxAcV5P0ReI= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 1D9A0F8015A; Tue, 12 May 2020 08:17:11 +0200 (CEST) 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 F2C2DF801DB; Tue, 12 May 2020 08:17:08 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from mail-pj1-x1043.google.com (mail-pj1-x1043.google.com [IPv6:2607:f8b0:4864:20::1043]) (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 30161F800E3 for ; Tue, 12 May 2020 08:17:01 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 30161F800E3 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="GiFn5PvR" Received: by mail-pj1-x1043.google.com with SMTP id l73so132542pjb.1 for ; Mon, 11 May 2020 23:17:01 -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=qAP5dzqVjJ1/UNcW8HWgPzFOYDWg70LyvfFQzRXxTzQ=; b=GiFn5PvRBAiNNSCjp3LSNNPQLCb2Lrne6Y8zq48dgtp4CcMRhQi+O+K2Dwztn34F7R 7Vkukl7I0TfGaEdCPWB4DF1jmBihUlw4HH0+7CkUQMgvhUYPOrXoIyMLtR3SuQYc1gQj 7Z+LIz8qDkGoMqCnW2t+PqSKZWm0lBJ8E9MZ3EhdbGQGgL3GmbpyH6K22bEvTLj9+eKr uGZ56MOYu7dHCmcxLPueWE8F7wd7krI6pr7Vmr6fB6RZq1j1pUi3k4ScwGbnWb1gWqPu 5yWjw3ebMnKYPfmJRatOH/zfp5q2xiXRjb7IUTWxFTRKkXYKhTvc103RJQfdqEofoShb ofXQ== 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=qAP5dzqVjJ1/UNcW8HWgPzFOYDWg70LyvfFQzRXxTzQ=; b=lYmLmJ+infeMieMK0/NjmKFRNtG4ViH0StaCFk8Uy46nW7AhKdxPeNi/XXz3wJSxFF JI7+/Jc8q5Ji//fxpsPgemcWA7tNNo+msk8eKw3RwoUDXgO5WgQt8bAdFrLVqSAk6Ksy MiSY+EoLD9IOYadlrdY8khZVsZU8YPMGH1Mh2TsGRi+q7qihI1B9YDEUrk88ojgx1X8m yd6m8Xy/jrJkovqiFszGHlDM8Bl9e5CcsYj0KuGtS6Yf4PqyGYee7+Ywd9QAwfVDEi5j fgCkycflamu1sdpJqe0TQm8FLpcnoC9B2I3rSvJxh4i6YKLKhTNrNgYZ48uN1++0c87N Nb3Q== X-Gm-Message-State: AGi0PuYR3/n66H8xGGITdI8OLYgeCaDeXdTjhQ1A5KRP51uImJaiMfit +iwV4+XGRo9xCZg23Fau8bjLvQ== X-Google-Smtp-Source: APiQypJbf1szRLV+fkXX/8u/vx+eHe31O5PTgScOEapJLc6RobEu0dNQebD5n2VIxPWzClVYUjNR/w== X-Received: by 2002:a17:90a:30e7:: with SMTP id h94mr28196449pjb.225.1589264219649; Mon, 11 May 2020 23:16:59 -0700 (PDT) Received: from starnight.localdomain (123-204-46-122.static.seed.net.tw. [123.204.46.122]) by smtp.googlemail.com with ESMTPSA id m14sm9660554pgk.56.2020.05.11.23.16.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 May 2020 23:16:59 -0700 (PDT) From: Jian-Hong Pan To: Takashi Iwai Subject: [PATCH 2/3] ALSA: hda/realtek - Enable headset mic of ASUS UX550GE with ALC295 Date: Tue, 12 May 2020 14:15:26 +0800 Message-Id: <20200512061525.133985-2-jian-hong@endlessm.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200512061525.133985-1-jian-hong@endlessm.com> References: <20200512061525.133985-1-jian-hong@endlessm.com> MIME-Version: 1.0 Cc: Jian-Hong Pan , alsa-devel@alsa-project.org, linux@endlessm.com, linux-kernel@vger.kernel.org, Daniel Drake 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" The ASUS laptop UX550GE with ALC295 can't detect the headset microphone until ALC295_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 6c996df16201..dcb97b39be6e 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -8003,6 +8003,10 @@ static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = { {0x12, 0x90a60130}, {0x17, 0x90170110}, {0x21, 0x03211020}), + SND_HDA_PIN_QUIRK(0x10ec0295, 0x1043, "ASUS", ALC295_FIXUP_ASUS_MIC_NO_PRESENCE, + {0x12, 0x90a60120}, + {0x17, 0x90170110}, + {0x21, 0x04211030}), SND_HDA_PIN_QUIRK(0x10ec0295, 0x1043, "ASUS", ALC295_FIXUP_ASUS_MIC_NO_PRESENCE, {0x12, 0x90a60130}, {0x17, 0x90170110}, From patchwork Tue May 12 06:15:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jian-Hong Pan X-Patchwork-Id: 11542083 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 553B7139F for ; Tue, 12 May 2020 06:19:14 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DD7B620746 for ; Tue, 12 May 2020 06:19:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="tUftMu3G"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=endlessm-com.20150623.gappssmtp.com header.i=@endlessm-com.20150623.gappssmtp.com header.b="YSnUur22" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DD7B620746 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=endlessm.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org 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 2EF94166B; Tue, 12 May 2020 08:18:26 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 2EF94166B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1589264352; bh=dC0/jOQrdBBeY3E4bIIPJnkgPX6uLlq0UlAK+to1UOo=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=tUftMu3GFZjBWy83vRswta9YS9oypRi2SVQQnjlDJU2et1QfHqZsrECkNAFSqrlGD TxRcWCUeC+od3o6myo0pM17nfVLK//aNqQwG5QsJIqNd7rJIzlNYFD/yBzg3stwz7G +1dvV9GOjWJh+QbUdkJDNRR31swZLHr8gAAj3loM= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 9D5CCF80247; Tue, 12 May 2020 08:17:29 +0200 (CEST) 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 701CFF80253; Tue, 12 May 2020 08:17:27 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from mail-pl1-x641.google.com (mail-pl1-x641.google.com [IPv6:2607:f8b0:4864:20::641]) (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 0B9B5F8021D for ; Tue, 12 May 2020 08:17:20 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 0B9B5F8021D 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="YSnUur22" Received: by mail-pl1-x641.google.com with SMTP id t16so4943274plo.7 for ; Mon, 11 May 2020 23:17:20 -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=tPhdNQpmNdWMTH4ItY0n2wQhmbRZdFbnehkFaFShH6Q=; b=YSnUur22fR3d6DIb8DsRfVkB1mFWIES6U6mYkad1cZyYbCSIVC4QhoBNKT1q71A8/f VctpRiXXnzj/5KBa0r/X8VOSJ2OLOQsZ850kXKKeybtWitiFvEv02/iKAQV6pKVVwQph 7MAmeAlfniwk2NdiFnPJPhXjyYZalGPoD5ULKOxLEw308RjuDi/26t+zxHn1jRi2Kv1+ Tgf2fw1F2ethVvtYT2Bol/6WI/ogZP9SqSAIlQrdvbZzMQ9u1rs2f5M8ZwOI0xn463Vm 1kbC4M+DDhT0kild8gIQGRMGDsjm3mTiqcqgeUyX67HfnPEvusM/bRAYHw/hnnnJ9wcs +raQ== 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=tPhdNQpmNdWMTH4ItY0n2wQhmbRZdFbnehkFaFShH6Q=; b=lzgqdQ02EHQhZ942AYDllxjf2DIezzJ88oJGfqDuyhxoiXA2sYW5ZpThBVXkYUDTs3 wGX7dgexn2Dt30NKR5bi3W9DlsmvQxDISAhm/QLUZfsZeCwA/UN6Wfhn7uIAVVzVr6hx mNGxRqkFowrndGJ8w5uiBvO+wGf5zJSorWw1Hl25VEJ+THSHTclU7kjZCbXJbqawqeJN sULG+s+R/Egce8Sg5HvaSL6WxYcKaId0n0t0qRRaKOl11urrSOYLNkCXmOXWcJ5cn+h3 sqUfT1dsyhToIbZvFoZHIT1xfAHB3nwN6jfnvACZdGzQ9hbhl6BJUuOOZZNLI0Rh4hdG Z8AA== X-Gm-Message-State: AGi0PuYt1C5HXTsJj28hyCRr54sd6i3CR7dSX+17/5cu/6/LOYxmWVb8 Ixb72nGWn3AtQuCL4GX+NXyZkw== X-Google-Smtp-Source: APiQypIwfoYwi1fH88HLIciOEZsXl0lOuoY0ylnOHLNtCKe5ewazcN2I9jXlqNbgs8DybvDDMV/4xg== X-Received: by 2002:a17:90a:ad93:: with SMTP id s19mr26160781pjq.73.1589264238826; Mon, 11 May 2020 23:17:18 -0700 (PDT) Received: from starnight.localdomain (123-204-46-122.static.seed.net.tw. [123.204.46.122]) by smtp.googlemail.com with ESMTPSA id m14sm9660554pgk.56.2020.05.11.23.17.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 May 2020 23:17:18 -0700 (PDT) From: Jian-Hong Pan To: Takashi Iwai Subject: [PATCH 3/3] ALSA: hda/realtek: Enable headset mic of ASUS UX581LV with ALC295 Date: Tue, 12 May 2020 14:15:28 +0800 Message-Id: <20200512061525.133985-3-jian-hong@endlessm.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200512061525.133985-1-jian-hong@endlessm.com> References: <20200512061525.133985-1-jian-hong@endlessm.com> MIME-Version: 1.0 Cc: Jian-Hong Pan , alsa-devel@alsa-project.org, linux@endlessm.com, linux-kernel@vger.kernel.org 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" The ASUS UX581LV laptop's audio (1043:19e1) with ALC295 can't detect the headset microphone until ALC295_FIXUP_ASUS_MIC_NO_PRESENCE quirk applied. Signed-off-by: Jian-Hong Pan --- 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 dcb97b39be6e..36832645de78 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -7393,6 +7393,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x1043, 0x18b1, "Asus MJ401TA", ALC256_FIXUP_ASUS_HEADSET_MIC), SND_PCI_QUIRK(0x1043, 0x18f1, "Asus FX505DT", ALC256_FIXUP_ASUS_HEADSET_MIC), SND_PCI_QUIRK(0x1043, 0x19ce, "ASUS B9450FA", ALC294_FIXUP_ASUS_HPE), + SND_PCI_QUIRK(0x1043, 0x19e1, "ASUS UX581LV", ALC295_FIXUP_ASUS_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x1043, 0x1a13, "Asus G73Jw", ALC269_FIXUP_ASUS_G73JW), SND_PCI_QUIRK(0x1043, 0x1a30, "ASUS X705UD", ALC256_FIXUP_ASUS_MIC), SND_PCI_QUIRK(0x1043, 0x1b13, "Asus U41SV", ALC269_FIXUP_INV_DMIC),