Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3111396imw; Mon, 11 Jul 2022 01:58:39 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tbvqFJYdxFFaOBTZyYKXcMGRbB02D4CSfGeVvAq+ODSltumcIfhBpJFOBn65/uYgaiKqiy X-Received: by 2002:aa7:db09:0:b0:43a:7353:94a6 with SMTP id t9-20020aa7db09000000b0043a735394a6mr23361252eds.191.1657529919583; Mon, 11 Jul 2022 01:58:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657529919; cv=none; d=google.com; s=arc-20160816; b=w1km2A5CIkkabplCwNzZhnlZ6YdmGcqcsrSX7TB18FyEHvBF9mfHf90WyOFkGV7DmF 4zbd61jxYcpSx7KikFXgMMrwdrTkkKa2bN1seCCwZ4p5wIdJcCdIbv8DkufShe61k9G0 gIK81ws+92zWX3TM3N4Z61XbM2H6jHfM9BOcyc2QiEwTFY049TXBmSluG9SAVNcUq54N J5XJo9qM9kNtBDbfl0IE6jRB+FgA3zASzjiZKHONsxX4TsiLrtLXdvnJLgs0dGGbd7Qt arJ341xZK3RjPlRu9P2ryFMgvwZ9t58vd1EndGXwaiZTfYOk038lMLWb/Mbsw2MP66RZ vpoA== 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=+4OJRaQHDcygTn8sjL9Cdp0lI3oTc4GoLIP7kqugIK0=; b=Ai+gR8Y4U2/hCtUJmN/wByEytwF9Mv0bN0B7n0t1+vvttluyiDKjPX6b8OqHJrZh+8 cY6wgs6g76vfmRzg2ht60pyvMlt33kXTKGOgNmAtba51Un+txuEEP+8XBzvnX2REoDgJ 43zaJbvgFx5JFhTAwTGt/Xo5SN1KeNTt4YzUvXBY8gVbR+dcN89vuJq+hiJM3uoOM6i9 Dc3ddLGvAmnsfUH3XzK/wvSPx28xRpRivwYxd7/FljyCJ/u5IVxUCWuvIbNikbWqXp54 vml5m5O7DP5xbKWzSgTJywVLO7wgf5hhF02UDakuhYKGV0tYCpG8L+gKgIMEzIf9D/mY XuEg== 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 gb15-20020a170907960f00b0072b3cb29befsi9360566ejc.445.2022.07.11.01.58.14; Mon, 11 Jul 2022 01:58:39 -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 S229842AbiGKIQE (ORCPT + 99 others); Mon, 11 Jul 2022 04:16:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229834AbiGKIPu (ORCPT ); Mon, 11 Jul 2022 04:15:50 -0400 Received: from smtpbg516.qq.com (smtpbg516.qq.com [203.205.250.54]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F1151DA56 for ; Mon, 11 Jul 2022 01:15:46 -0700 (PDT) X-QQ-mid: bizesmtp73t1657527335tdmplea0 Received: from localhost.localdomain ( [58.240.82.166]) by bizesmtp.qq.com (ESMTP) with id ; Mon, 11 Jul 2022 16:15:29 +0800 (CST) X-QQ-SSF: 01400000002000G0T000B00A0000000 X-QQ-FEAT: 357G+HpUJafKVCqO/P4HU43U4zyZg+9kBNp/Le0Dv+PEfu7zWOm9YZ67+06Vh Twrfj/SaTivXtg17N7qgT0Yok17vf9Fud70QEt2IXdYGeCFqnz8G3fVs3vRZH5C1KWLyUsK oRlalOjDdVi1Q90PqFM7MVIAkklbqxxjAuNjDqnU+pz7BSpQm7xkewzGVSEn6AIYWEOx9A2 cMZ6P6o3GGBXm+rhSB3I4uso9Usk3yL54nd5LLY6xcO9I/Lcd8ZKu3L6NUujd/T3HkZdrN8 sew5zpffE7kj9FJ6DM6Bv1NRnGasGgr+P8p2/PDC2t7kPUiMTG65eFsCCKJLVVEbbINW86/ wNeObm9K9uLiAf8AxE5OjJJlgDX7w+Ytx8g1gPCsFHinP6TjqwA4j4M82dxo7ENegHHA/zp X-QQ-GoodBg: 2 From: Meng Tang To: perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Cc: tcrawford@system76.com, kai.heng.feng@canonical.com, wse@tuxedocomputers.com, tanureal@opensource.cirrus.com, cam@neo-zeon.de, kailang@realtek.com, sbinding@opensource.cirrus.com, yong.wu@mediatek.com, andy.chi@canonical.com, Meng Tang Subject: [PATCH] ALSA: hda/realtek: Fix headset mic for Acer SF313-51 Date: Mon, 11 Jul 2022 16:15:27 +0800 Message-Id: <20220711081527.6254-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:qybgforeign9 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_PASS,T_SCC_BODY_TEXT_LINE,T_SPF_HELO_TEMPERROR 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 The issue on Acer SWIFT SF313-51 is that headset microphone doesn't work. The following quirk fixed headset microphone issue. Note that the fixup of SF314-54/55 (ALC256_FIXUP_ACER_HEADSET_MIC) was not successful on my SF313-51. 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 007dd8b5e1f2..fe7c1194d052 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -8886,6 +8886,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x1025, 0x1290, "Acer Veriton Z4860G", ALC286_FIXUP_ACER_AIO_HEADSET_MIC), SND_PCI_QUIRK(0x1025, 0x1291, "Acer Veriton Z4660G", ALC286_FIXUP_ACER_AIO_HEADSET_MIC), SND_PCI_QUIRK(0x1025, 0x129c, "Acer SWIFT SF314-55", ALC256_FIXUP_ACER_HEADSET_MIC), + SND_PCI_QUIRK(0x1025, 0x129d, "Acer SWIFT SF313-51", ALC256_FIXUP_ACER_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x1025, 0x1300, "Acer SWIFT SF314-56", ALC256_FIXUP_ACER_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x1025, 0x1308, "Acer Aspire Z24-890", ALC286_FIXUP_ACER_AIO_HEADSET_MIC), SND_PCI_QUIRK(0x1025, 0x132a, "Acer TravelMate B114-21", ALC233_FIXUP_ACER_HEADSET_MIC), -- 2.20.1