Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4136197imw; Tue, 12 Jul 2022 02:31:01 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sn/PyH1PzalOuOQz8TCX9OwP7Tswmje6ouypLQ17lPU0oSAtjsE8wjOAa9m/W83kzhq+Wl X-Received: by 2002:a17:902:e5c6:b0:16c:413c:fbff with SMTP id u6-20020a170902e5c600b0016c413cfbffmr11335876plf.62.1657618261079; Tue, 12 Jul 2022 02:31:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657618261; cv=none; d=google.com; s=arc-20160816; b=MKWZUhOuSA4se3mD5IU64TjiFAWDBjWYdOaWP3cgBFi+R0hIEM2QVYPZ5P1ZN8BMSo 82U0nfUWPecAJzySlwk6K2h7l7Kbj0+4lnOe9t3lfcChUJyt1KiWhgO3GwSAF80kFy6U ktmEMkNVwA+jqlB6k4AUll4HG9ErzSfurNdxiicQv2pc19x+cbfYTsKPeQPNzVASXU2b Q5/+C6efxzecL24b43lYy9+fzWItG66gGeJMQJJFXdfZADc5Zm4sOMYS5qvgIdF4ksJN rxD1TogjwAemioVMt/dvXWOvrYtyLTPNyVRrEdh5I0PPfji2WVotzqekWQx2EoZlBI1+ yaVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from; bh=zTtpDVckk6C7vQr1bbF/8R/QINVxyUi8f1Qqh3E6/1A=; b=gQrBCCaQ4YTR73W1L/gQB0+h8fFp8S9DDG+32TSm/xpiJY1JYEbnEDCcjRGEwQmxKS w18LQtpNtQm50LwTPdn1f640v0/13tqVoUCI1ks8v9hzNwOw6DHDQmnhhcz6ARZyuduB z+gixPtmQJhwE+E0IqLg7Th81ENpt8RkCyPQyUYhhaHabqdlPG+4dDp+wWF9oU3wEzt6 VhvbwvzCugB3QiyILR/wr2P6EDHB3bfEtg0/cLdATVEw4QmgmSPfkAxmYsa0VOA7/6gQ mVwS29fTw6fln365I2EVLiwTVpQfwkFjU4lBPePjqOtuVFDH53y/bmyyLJfybG8z1jhS N8yg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m15-20020a63710f000000b0041249d5aeddsi12325707pgc.605.2022.07.12.02.30.39; Tue, 12 Jul 2022 02:31:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232767AbiGLJWv (ORCPT + 99 others); Tue, 12 Jul 2022 05:22:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231184AbiGLJWs (ORCPT ); Tue, 12 Jul 2022 05:22:48 -0400 Received: from smtpbgsg1.qq.com (smtpbgsg1.qq.com [54.254.200.92]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7CDEAA742 for ; Tue, 12 Jul 2022 02:22:43 -0700 (PDT) X-QQ-mid: bizesmtp74t1657617750t4cfa3j2 Received: from localhost.localdomain ( [58.240.82.166]) by bizesmtp.qq.com (ESMTP) with id ; Tue, 12 Jul 2022 17:22:24 +0800 (CST) X-QQ-SSF: 01400000002000G0T000B00A0000000 X-QQ-FEAT: qcKkmz/zJhwYbhm6z/jbv+ZOB0ZPkBzHen22zjOC1GLUIhHa+QzESjf6aWwhi v9ApeefPkrTrZ4zqcr4yvLTt95R11GBL5+4SoXPHpDHXKLxA+Yz/TABROkrVwrOIsBQB3vi nXj0OAU0Sqqfj7FV4+nbsa9ybILwCfSnzfnwOINsEbj7HMEmJdDL+MPyRwH/CJAayPkhZjm INPSIvuHbK4k4DB1agTRXnXxcoehXKC3Hn6zGmeGaPX9Om06VciR6XsmOcaYhVYfdB4Xh+B 1tHQW4y+gIZa3a7nSswOIIqOB3WX7R5F+4WCCj7Yw2QTxx3MykimqQ4YX4CeM1tRs0y9xle qWEuJUY2e9tekQXZl8fuhWiKLv6UYyg/gnVE+8GRPbdnwzwmzasQL3kmz1mdS74Yxm1w+9g PG81aU7KjBo= X-QQ-GoodBg: 2 From: Meng Tang To: perex@perex.cz, tiwai@suse.com, tcrawford@system76.com, kai.heng.feng@canonical.com, tanureal@opensource.cirrus.com, cam@neo-zeon.de, kailang@realtek.com, sbinding@opensource.cirrus.com, andy.chi@canonical.com, yong.wu@mediatek.com Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Meng Tang Subject: [PATCH] ALSA: hda/realtek - Fix headset mic problem for a HP machine with alc671 Date: Tue, 12 Jul 2022 17:22:22 +0800 Message-Id: <20220712092222.21738-1-tangmeng@uniontech.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:uniontech.com:qybgforeign:qybgforeign8 X-QQ-Bgrelay: 1 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On a HP 288 Pro G6, the front mic could not be detected.In order to get it working, the pin configuration needs to be set correctly, and the ALC671_FIXUP_HP_HEADSET_MIC2 fixup needs to be applied. Signed-off-by: Meng Tang --- 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 ecc737342fcc..34139c26795f 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -11219,6 +11219,7 @@ static const struct snd_pci_quirk alc662_fixup_tbl[] = { SND_PCI_QUIRK(0x103c, 0x1632, "HP RP5800", ALC662_FIXUP_HP_RP5800), SND_PCI_QUIRK(0x103c, 0x8719, "HP", ALC897_FIXUP_HP_HSMIC_VERB), SND_PCI_QUIRK(0x103c, 0x873e, "HP", ALC671_FIXUP_HP_HEADSET_MIC2), + SND_PCI_QUIRK(0x103c, 0x877e, "HP 288 Pro G6", ALC671_FIXUP_HP_HEADSET_MIC2), SND_PCI_QUIRK(0x103c, 0x885f, "HP 288 Pro G8", ALC671_FIXUP_HP_HEADSET_MIC2), SND_PCI_QUIRK(0x1043, 0x1080, "Asus UX501VW", ALC668_FIXUP_HEADSET_MODE), SND_PCI_QUIRK(0x1043, 0x11cd, "Asus N550", ALC662_FIXUP_ASUS_Nx50), -- 2.20.1