systemd/0951-hwdb-Correct-display-rotation-on-Chuwi-Ubook-X-N4100.patch

29 lines
1023 B
Diff
Raw Normal View History

From 6418423f6ff69055b1e420d36eab52928e0d4ab3 Mon Sep 17 00:00:00 2001
From: hfavisado <hal.f.avisado+github@gmail.com>
Date: Wed, 17 Jan 2024 13:20:38 +0900
Subject: [PATCH] hwdb: Correct display rotation on Chuwi Ubook X N4100
(#24248)
(cherry picked from commit 02b346d64f3667ebb857f064a3e8ad84682d0e5f)
Related: RHEL-5950
---
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 0e39a6a566..b002be4ece 100644
--- a/hwdb.d/60-sensor.hwdb
+++ b/hwdb.d/60-sensor.hwdb
@@ -309,6 +309,10 @@ sensor:modalias:acpi:BOSC0200*:dmi:bvnAmericanMegatrendsInc.:bvrY13D_KB133.103:b
sensor:modalias:acpi:BOSC0200*:dmi:*:svnHampoo*:pnC3W6_AP108_4GB:*
ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
+# Chuwi Ubook X (CWI535)
+sensor:modalias:acpi:MXC6655*:dmi*:svnCHUWIInnovationAndTechnology*:pnUBookX:*
+ ACCEL_MOUNT_MATRIX=0, 0, -1; 1, 0, 0; 0, 1, 0
+
#########################################
# Connect
#########################################