systemd/SOURCES/1148-hwdb-add-rotation-profile-matrix-for-Rog-Ally-X-2024.patch

29 lines
1.0 KiB
Diff

From d8ce41be07bb49fe8de466a2aac678ca5fd6d782 Mon Sep 17 00:00:00 2001
From: Harrison Vanderbyl <33416119+harrisonvanderbyl@users.noreply.github.com>
Date: Tue, 4 Mar 2025 15:15:23 +1100
Subject: [PATCH] hwdb: add rotation profile matrix for Rog Ally X (2024)
(#36591)
(cherry picked from commit 7fff71328e36b734be6b7e17eb7998dcb754bb13)
Resolves: RHEL-72697
---
hwdb.d/60-sensor.hwdb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb
index 385c4300ef..9561fefa89 100644
--- a/hwdb.d/60-sensor.hwdb
+++ b/hwdb.d/60-sensor.hwdb
@@ -189,6 +189,10 @@ sensor:modalias:acpi:SMO8500*:dmi:*svn*ASUSTeK*:*pn*TP300LAB:*
sensor:modalias:acpi:BOSC0200*:dmi:*svn*ASUSTeK*:*pn*TP412UA:*
ACCEL_MOUNT_MATRIX=0, -1, 0; 1, 0, 0; 0, 0, 1
+# ASUS ROG Ally X (2024)
+sensor:modalias:acpi:BOSC0200*:dmi:*svn*ASUSTeK*:*pn*RC72LA:*
+ ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, -1
+
sensor:modalias:acpi:BOSC0200*:dmi:*svn*ASUSTeK*:pn*BR1100FKA:*
ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, -1