From nobody Sat Feb 7 23:34:01 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9075AEB64D7 for ; Fri, 30 Jun 2023 04:31:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230415AbjF3Ebc (ORCPT ); Fri, 30 Jun 2023 00:31:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54350 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230104AbjF3Eb1 (ORCPT ); Fri, 30 Jun 2023 00:31:27 -0400 Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39B4D1FF9 for ; Thu, 29 Jun 2023 21:31:26 -0700 (PDT) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 11FA73200919; Fri, 30 Jun 2023 00:31:24 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Fri, 30 Jun 2023 00:31:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ljones.dev; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1688099484; x= 1688185884; bh=57Ar0Z5PkxbqAqRL5TUEKObulBq/y5OcnzsbzdU1dqs=; b=k EVaCU9L8TcBJEXEjy4j6/kDMx3ovkQfVH1L3UxSlsCsB6DRIW2qwowroKZXtGI8t ATxwJ7hhOfl319ZMSwNlFkA6lZsCgOVyAecUcLGK8LJZpXXl2gwX3NLxpJBUDRhB 3y8qWqeEaH2x6vYL5Kh4zSMZ8gcHWjGpOORqJVfgGeoKjhoICfdXJAXM0BaeiwsZ UfZkL/UU5Vsp6hBwRvcyuqv4EcpqneUI0WajS+8zXsCPKo/F0VMOwXxP7rjc7Vcp 2G/SrRZhI5cZqDvZLXwI5bVV2bBXt/IgNk26Yo1v68gbax+dDTgm14wfvt9NnsKT iQfDUo1R8e0yHvGQhgYTw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1688099484; x= 1688185884; bh=57Ar0Z5PkxbqAqRL5TUEKObulBq/y5OcnzsbzdU1dqs=; b=C QC9bYWOtt44Iugn9iaKLWfi21LPBNG/sNzLTo7zrHt8XHLDtqtvax52atVVH1mVS eug1IjAxjh0SVYThOl0gx2EfWuXGyVUUpPwpILfLmzm03oDB5S2FhU3GFLiZNeeX QKvXhlBqW7XqGzVBazXqsEDfMDlrd372OQrQhFEHMLAZI0qNrzu9H0huhguOBWbQ sVwEkBO7HfNwGmbnHYfvs0nK3I/Ga4oIADC6FBnajxqaRWIOETIu/qMBRVqdWVio yf01Lqh0eaJZGiJbU9LV31NrXTx9IRIRyRIr2usqIOekW+wruWezQjOlomuGPeyb 7e4b598VcbTsZSwk1m72w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrtdehgdekjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekre dtredttdenucfhrhhomhepfdfnuhhkvgcuffdrucflohhnvghsfdcuoehluhhkvgeslhhj ohhnvghsrdguvghvqeenucggtffrrghtthgvrhhnpefgteefudfgteduueehteejhfeugf fgleeltedvveethfeuueejfedvgeelveehgfenucevlhhushhtvghrufhiiigvpedtnecu rfgrrhgrmhepmhgrihhlfhhrohhmpehluhhkvgeslhhjohhnvghsrdguvghv X-ME-Proxy: Feedback-ID: i5ec1447f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 30 Jun 2023 00:31:21 -0400 (EDT) From: "Luke D. Jones" To: tiwai@suse.com Cc: perex@perex.cz, sbinding@opensource.cirrus.com, andy.chi@canonical.com, tangmeng@uniontech.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, "Luke D. Jones" Subject: [PATCH 1/2] ALSA: hda/realtek: Add quirk for ASUS ROG GX650P Date: Fri, 30 Jun 2023 16:31:05 +1200 Message-ID: <20230630043106.914724-2-luke@ljones.dev> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230630043106.914724-1-luke@ljones.dev> References: <20230630043106.914724-1-luke@ljones.dev> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Adds the required quirk to enable the Cirrus amp and correct pins on the ASUS ROG GV601V series. While this works if the related _DSD properties are made available, these aren't included in the ACPI of these laptops (yet). Signed-off-by: Luke D. Jones --- sound/pci/hda/patch_realtek.c | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index dabfdecece26..1c26f24b1246 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -5883,7 +5883,7 @@ static void alc_fixup_headset_mode_alc255_no_hp_mic(s= truct hda_codec *codec, struct alc_spec *spec =3D codec->spec; spec->parse_flags |=3D HDA_PINCFG_HEADSET_MIC; alc255_set_default_jack_type(codec); - }=20 + } else alc_fixup_headset_mode(codec, fix, action); } @@ -7065,6 +7065,8 @@ enum { ALC285_FIXUP_SPEAKER2_TO_DAC1, ALC285_FIXUP_ASUS_SPEAKER2_TO_DAC1, ALC285_FIXUP_ASUS_HEADSET_MIC, + ALC285_FIXUP_ASUS_I2C_SPEAKER2_TO_DAC1, + ALC285_FIXUP_ASUS_I2C_HEADSET_MIC, ALC280_FIXUP_HP_HEADSET_MIC, ALC221_FIXUP_HP_FRONT_MIC, ALC292_FIXUP_TPT460, @@ -8051,6 +8053,22 @@ static const struct hda_fixup alc269_fixups[] =3D { .chained =3D true, .chain_id =3D ALC285_FIXUP_ASUS_SPEAKER2_TO_DAC1 }, + [ALC285_FIXUP_ASUS_I2C_SPEAKER2_TO_DAC1] =3D { + .type =3D HDA_FIXUP_FUNC, + .v.func =3D alc285_fixup_speaker2_to_dac1, + .chained =3D true, + .chain_id =3D ALC287_FIXUP_CS35L41_I2C_2 + }, + [ALC285_FIXUP_ASUS_I2C_HEADSET_MIC] =3D { + .type =3D HDA_FIXUP_PINS, + .v.pins =3D (const struct hda_pintbl[]) { + { 0x19, 0x03a11050 }, + { 0x1b, 0x03a11c30 }, + { } + }, + .chained =3D true, + .chain_id =3D ALC285_FIXUP_ASUS_I2C_SPEAKER2_TO_DAC1 + }, [ALC256_FIXUP_DELL_INSPIRON_7559_SUBWOOFER] =3D { .type =3D HDA_FIXUP_PINS, .v.pins =3D (const struct hda_pintbl[]) { @@ -9525,6 +9543,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = =3D { SND_PCI_QUIRK(0x1043, 0x1313, "Asus K42JZ", ALC269VB_FIXUP_ASUS_MIC_NO_PR= ESENCE), SND_PCI_QUIRK(0x1043, 0x13b0, "ASUS Z550SA", ALC256_FIXUP_ASUS_MIC), SND_PCI_QUIRK(0x1043, 0x1427, "Asus Zenbook UX31E", ALC269VB_FIXUP_ASUS_Z= ENBOOK), + SND_PCI_QUIRK(0x1043, 0x1433, "ASUS GX650P", ALC285_FIXUP_ASUS_I2C_HEADSE= T_MIC), SND_PCI_QUIRK(0x1043, 0x1473, "ASUS GU604V", ALC285_FIXUP_ASUS_HEADSET_MI= C), SND_PCI_QUIRK(0x1043, 0x1483, "ASUS GU603V", ALC285_FIXUP_ASUS_HEADSET_MI= C), SND_PCI_QUIRK(0x1043, 0x1493, "ASUS GV601V", ALC285_FIXUP_ASUS_HEADSET_MI= C), --=20 2.41.0 From nobody Sat Feb 7 23:34:01 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 51733EB64DA for ; Fri, 30 Jun 2023 04:31:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231546AbjF3Ebj (ORCPT ); Fri, 30 Jun 2023 00:31:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54404 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230453AbjF3Ebc (ORCPT ); Fri, 30 Jun 2023 00:31:32 -0400 Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A8C92D78 for ; Thu, 29 Jun 2023 21:31:31 -0700 (PDT) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id E6CF632007F9; Fri, 30 Jun 2023 00:31:29 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Fri, 30 Jun 2023 00:31:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ljones.dev; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1688099489; x= 1688185889; bh=Q64xPEy+iwbg0p9qPUFnYa3X3kv5WuO+YEFt9NA2p98=; b=b DxnBbak+dDSQpYUvRE6BUGvW9Qv1/y0gufEzS7Ik0XxaeBImMbux6KqHdTsycYnG iOlhPK6F2iuH7tTm+j8trUnhgOTH2rqsbcTAuGhPtRxkgvm5FPd+T3BZa9JHyHIf 7YSmjU5/6P7mK5RCA99ytLqyuYLu4zZdXGFndeQBQfGVJPhpwKa9f/HQydD9hFEU sa+/ek25PCnYVVTZ/cVZEOORd8w39oznoPwkQKj0a0LoKg7IlxC5ZwIsSZZVjOuN xCFy+1/coahs4BuGtFLo9XGlzAkuzgaOFBhQmjZEyShLx+jxDk3TJFtilTeWnzzu v0xfadTruu0RrrYaQ01kg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1688099489; x= 1688185889; bh=Q64xPEy+iwbg0p9qPUFnYa3X3kv5WuO+YEFt9NA2p98=; b=f AxpZtIApHcQdJ1RmxDNHBOKp3mGS0GvfidjX7wVwpWc+P0Of6eUYxtpiAWRoOWLz QMn5odcBjqVryXjgs840Z5uvZldJA1imIEl/k83Wqh7xf3iiliEteBNgqAPLfbe9 KWd02q8K+anDdzTEbSjYAleJDhBRVEim6XLvo4l4tj1HghqYcafSyo/tD4iscmji D/P9gK4uzGsdmoo3Fr6khSc4Tzsv8WG73c3KiipxkLb6XYMwZX6SBNcH8QLJji7a 9WaDCUI1RCZxqri4LDNP184LqPf/6L5sS7EAX1FJWd8HKbZvMQCxyuoma8tKWrgK 2BxmeuGgDrKXAp+Zl0UhA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrtdehgdekjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekre dtredttdenucfhrhhomhepfdfnuhhkvgcuffdrucflohhnvghsfdcuoehluhhkvgeslhhj ohhnvghsrdguvghvqeenucggtffrrghtthgvrhhnpefgteefudfgteduueehteejhfeugf fgleeltedvveethfeuueejfedvgeelveehgfenucevlhhushhtvghrufhiiigvpedtnecu rfgrrhgrmhepmhgrihhlfhhrohhmpehluhhkvgeslhhjohhnvghsrdguvghv X-ME-Proxy: Feedback-ID: i5ec1447f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 30 Jun 2023 00:31:26 -0400 (EDT) From: "Luke D. Jones" To: tiwai@suse.com Cc: perex@perex.cz, sbinding@opensource.cirrus.com, andy.chi@canonical.com, tangmeng@uniontech.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, "Luke D. Jones" Subject: [PATCH 2/2] ALSA: hda/realtek: Add quirk for ASUS ROG GA402X Date: Fri, 30 Jun 2023 16:31:06 +1200 Message-ID: <20230630043106.914724-3-luke@ljones.dev> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230630043106.914724-1-luke@ljones.dev> References: <20230630043106.914724-1-luke@ljones.dev> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Adds the required quirk to enable the Cirrus amp and correct pins on the ASUS ROG GV601V series. While this works if the related _DSD properties are made available, these aren't included in the ACPI of these laptops (yet). Signed-off-by: Luke D. Jones --- 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 1c26f24b1246..5b7df324e8b4 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -9544,6 +9544,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = =3D { SND_PCI_QUIRK(0x1043, 0x13b0, "ASUS Z550SA", ALC256_FIXUP_ASUS_MIC), SND_PCI_QUIRK(0x1043, 0x1427, "Asus Zenbook UX31E", ALC269VB_FIXUP_ASUS_Z= ENBOOK), SND_PCI_QUIRK(0x1043, 0x1433, "ASUS GX650P", ALC285_FIXUP_ASUS_I2C_HEADSE= T_MIC), + SND_PCI_QUIRK(0x1043, 0x1463, "Asus GA402X", ALC285_FIXUP_ASUS_I2C_HEADSE= T_MIC), SND_PCI_QUIRK(0x1043, 0x1473, "ASUS GU604V", ALC285_FIXUP_ASUS_HEADSET_MI= C), SND_PCI_QUIRK(0x1043, 0x1483, "ASUS GU603V", ALC285_FIXUP_ASUS_HEADSET_MI= C), SND_PCI_QUIRK(0x1043, 0x1493, "ASUS GV601V", ALC285_FIXUP_ASUS_HEADSET_MI= C), --=20 2.41.0