From nobody Thu Sep 24 13:39:03 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7D671421249; Wed, 23 Sep 2026 17:48:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790185683; cv=none; b=KG0wiRxSXA7ev+qH4j+iPtniMM2Z0bTpcWCwXa0H0BFEIKjDpetnawElFCbzYzzLDrGdHA+oDiTUpR19G1fTfbehWJsx9wIbKcCc07LikDPcRIyVDG0nddiPLv/0bmlfr7OWhog2LYt63bCBine+u9Nhg/iEG077J/JI4KduUAk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790185683; c=relaxed/simple; bh=riplQy8/WnhZZ7ILalB+sn+R8h17rFxq/GfL5ZSUZD4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=Fu74dTto6X/U58OVn28I/SM1RqCQ+Joe5RwncF1ZTrc4h81iiGLgbIIJ5A41UcEvTsvd63q5h3a3HihgQ3jMYYR7IDaX1UwnhKmf/2JOzbmPmuckrMEPytgIhOvkdz6rlOYoCvgjv7uF0PJLACgCCgiZSl5kUETGpjsTzKuY/Vc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=EPxRm3kW; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="EPxRm3kW" Received: by smtp.kernel.org (Postfix) with ESMTPS id BCA70C2BCF4; Wed, 23 Sep 2026 17:48:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1790185682; bh=riplQy8/WnhZZ7ILalB+sn+R8h17rFxq/GfL5ZSUZD4=; h=From:Date:Subject:To:Cc:Reply-To:From; b=EPxRm3kWYiWGSCwAwLOPbKxSqN9iBrae/SjP3HaKg0dK/DHsUJ2OhsTwhTb8j9LhI RqWBx15hJ5qxd5EEDV0ln8mMomIEYEd007PoQX0LG1x50+UtT80VsaPS6TXlQlP6hH qyPUOrc1RWtTPIySoujelAGfaG0rY/oAHQvypXWV9sTFtkEE7bylS1jha4feTUaYaH wziZP6FkBzzFoGYLLBn5Rhzyz3H04OTDol7xxb9jn4S9EYwo4BGYPyk3vvz90BTwMd D2EvtRkyiQ8T27fR69muDDCDNvFDqfG0ukzXYhZuqUoOvTIsyHQYI/RpFaB4QQAOMb VT1baH18mda8A== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id A9691C98304; Wed, 23 Sep 2026 17:48:02 +0000 (UTC) From: Nikolay Plastinin via B4 Relay Date: Thu, 24 Sep 2026 01:48:02 +0800 Subject: [PATCH] platform/x86: asus-nb-wmi: add tablet mode quirk for ROG Flow X13 GV302X Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260924-gv302-tablet-v1-1-a45dd3a383f1@gmail.com> X-B4-Tracking: v=1; b=H4sIAAAAAAAC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIzMDSyMT3fQyYwMj3ZLEpJzUEt1UI/NUY0NjA2ODZBMloJaCotS0zAqwcdG xtbUASuQIq14AAAA= X-Change-ID: 20260924-gv302-tablet-e27e313030c4 To: Corentin Chary , "Luke D. Jones" , Denis Benato , Hans de Goede , =?utf-8?q?Ilpo_J=C3=A4rvinen?= Cc: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, Nikolay Plastinin X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1790185681; l=1659; i=plaztininikolai@gmail.com; s=20260924; h=from:subject:message-id; bh=2Ot8n3jSdiE6fRQ5ST3n0effn8wymsxPkZc37Zl9lIQ=; b=hLVuMgt3i8l2f6hoP50JFAsMhtLPwpCbVCWpiYsD5qHTxs+srgktibcl4J+Loi7tXdpcN6ZGt NwSFp2xSTjRCBVKcj5cipRsI3uM3UlFJHAi124wJJLofyIr3J/qGD/J X-Developer-Key: i=plaztininikolai@gmail.com; a=ed25519; pk=bmHrETa14IbiLNkJSoiLqUMni+IeSFwhOSDM4vVFN4s= X-Endpoint-Received: by B4 Relay for plaztininikolai@gmail.com/20260924 with auth_id=1052 X-Original-From: Nikolay Plastinin Reply-To: plaztininikolai@gmail.com From: Nikolay Plastinin The 2023 ROG Flow X13 (GV302X*) is a 360-degree convertible like the GV301, but the existing "GV301" DMI entry does not match it, so the driver does not register SW_TABLET_MODE and the desktop does not switch to tablet mode when the screen is folded back. With asus_nb_wmi.tablet_mode_sw=3D3 (lid-flip-rog) the "Asus WMI hotkeys" input device reports SW_TABLET_MODE on every fold and unfold, so apply quirk_asus_tablet_mode to GV302X* too. Apart from the tablet switch this quirk is the same as quirk_asus_unknown, which these models get today. DMI product name of the tested machine: "ROG Flow X13 GV302XV_GV302XV". Tested on GV302XV. Signed-off-by: Nikolay Plastinin --- drivers/platform/x86/asus-nb-wmi.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/drivers/platform/x86/asus-nb-wmi.c b/drivers/platform/x86/asus= -nb-wmi.c index da1ddd601..3b0f3346d 100644 --- a/drivers/platform/x86/asus-nb-wmi.c +++ b/drivers/platform/x86/asus-nb-wmi.c @@ -503,6 +503,16 @@ static const struct dmi_system_id asus_quirks[] =3D { }, .driver_data =3D &quirk_asus_tablet_mode, }, + { + .callback =3D dmi_matched, + .ident =3D "ASUS ROG FLOW X13", + .matches =3D { + DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), + /* Match GV302X* */ + DMI_MATCH(DMI_PRODUCT_NAME, "GV302X"), + }, + .driver_data =3D &quirk_asus_tablet_mode, + }, { .callback =3D dmi_matched, .ident =3D "ASUS ROG FLOW X16", --- base-commit: f475845eaf3d749114a63270bf2efea459e14dd2 change-id: 20260924-gv302-tablet-e27e313030c4 Best regards, --=20 Nikolay Plastinin