From patchwork Thu Sep 3 20:52:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeremy Soller X-Patchwork-Id: 291830 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3349FC2D0E2 for ; Thu, 3 Sep 2020 20:54:18 +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 B963A2071B for ; Thu, 3 Sep 2020 20:54:17 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="GDOHB+qY"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="TwQIoLoM" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B963A2071B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=system76.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 53EBF1AD4; Thu, 3 Sep 2020 22:53:26 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 53EBF1AD4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1599166456; bh=P6N6+5KICFwN7b8Wl5qbvJBR+tVQ0/ySUWzHHQVAd3w=; h=In-Reply-To:References:Date:From:To:Subject:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=GDOHB+qYVoCTptLz+6B0cjdYOqarxTE7v7QAAB57aUNntxVNNtCGTRyPmQLoBj+6V 4h4ZmTKZBnHFNd0AZ9IwdX7MG8pAx+WahnAo2ElftTALMj4BdPAyk8VCyYYfBya292 v1RS5DKMrwpotiQBbMeD6vNkYwae9gmvVPPLrslA= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id EE09DF8021D; Thu, 3 Sep 2020 22:53:25 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 4AD8CF8025F; Thu, 3 Sep 2020 22:53:24 +0200 (CEST) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 1CE52F8020D for ; Thu, 3 Sep 2020 22:53:18 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 1CE52F8020D Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="TwQIoLoM" Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 1ABCFE4E; Thu, 3 Sep 2020 16:53:16 -0400 (EDT) Received: from imap2 ([10.202.2.52]) by compute4.internal (MEProxy); Thu, 03 Sep 2020 16:53:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=YsSulu E+04xGireAGGB+bGcHbXuRGMPqLYQaOPu/qp0=; b=TwQIoLoMlwqUY1Uu+lL17T TWVFxgaRMoIOEZuoCQff6EgiUwOLnDp6DiOD9CBsbNLtj7sy2hr8LnDYgCbTeKtn V/3juEygLbnNT0G6nkVIU2jUM55rNkQXH3TS9ah0uX0UlZCfeMA97Zm4jwoPAeWl SuFGhrg4WSi9r5shoWGXQ5xJU2Kk7/yA2ROPQeKyvBW8cxlY/51r4pgeT/GeMAWv ZurYaFgilKs/RXcB7UjO3j0PuApwXYtzTu75ry/EW0ZF3UBuUz3Fy3R/dMbKIBtn 9enPQ+3RZWfXr9Ob1Vyv/JLqG7C0Q+YykTSjEedtLOaaXN8xdsQ2C5iSH/J74Zeg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudeguddgudehiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkjghffffhvffutgesth dtredtreerjeenucfhrhhomhepfdflvghrvghmhicuufholhhlvghrfdcuoehjvghrvghm hiesshihshhtvghmjeeirdgtohhmqeenucggtffrrghtthgvrhhnpedthfeuhfehteeihf efgeejjeduhfehjedvveejteegffekgfeggeefuefhkeeitdenucevlhhushhtvghrufhi iigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehjvghrvghmhiesshihshhtvghmje eirdgtohhm X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 4ED3EE00EC; Thu, 3 Sep 2020 16:53:15 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.0-259-g88fbbfa-fm-20200903.003-g88fbbfa3 Mime-Version: 1.0 Message-Id: <624b02a6-d3a3-4717-aaf9-dada14df421a@www.fastmail.com> In-Reply-To: <86a53327-0c15-4ea7-a158-2c6eb61aaa85@www.fastmail.com> References: <86a53327-0c15-4ea7-a158-2c6eb61aaa85@www.fastmail.com> Date: Thu, 03 Sep 2020 14:52:55 -0600 From: "Jeremy Soller" To: alsa-devel@alsa-project.org Subject: =?utf-8?q?=5BPATCH_2/3=5D_ALSA=3A_hda/realtek=3A_Add_quirks_for_?= =?utf-8?q?System76_Gazelle_=28gaze15=29?= Cc: =?utf-8?q?Bj=C3=B6rn_Lindfors?= 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 System76 Gazelle (gaze15) requires the ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE quirk for the headset microphone to function. There are four variants, depending on the discrete GPU, and all variants are added here. Signed-off-by: Jeremy Soller diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 58d5ebb6e196..de880eb92d95 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -7703,6 +7703,10 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x1462, 0xb171, "Cubi N 8GL (MS-B171)", ALC283_FIXUP_HEADSET_MIC), SND_PCI_QUIRK(0x1558, 0x1325, "System76 Darter Pro (darp5)", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x1558, 0x1401, "System76 Lemur Pro (lemp9)", ALC269_FIXUP_HEADSET_MODE_NO_HP_MIC), + SND_PCI_QUIRK(0x1558, 0x8520, "System76 Gazelle (gaze15)", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE), + SND_PCI_QUIRK(0x1558, 0x8521, "System76 Gazelle (gaze15)", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE), + SND_PCI_QUIRK(0x1558, 0x8535, "System76 Gazelle (gaze15)", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE), + SND_PCI_QUIRK(0x1558, 0x8536, "System76 Gazelle (gaze15)", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x1558, 0x8550, "System76 Gazelle (gaze14)", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x1558, 0x8551, "System76 Gazelle (gaze14)", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x1558, 0x8560, "System76 Gazelle (gaze14)", ALC269_FIXUP_HEADSET_MIC),