systemd/1054-Add-ACCEL_MOUNT_MATRIX-for-Chuwi-Hi10-Max.patch
Jan Macku 9d027f0d2b systemd-252-49
Resolves: RHEL-24340,RHEL-25515,RHEL-49810,RHEL-70884
2025-01-07 15:12:44 +00:00

28 lines
1.0 KiB
Diff

From baf1f8ef3c3e3ba2650f6ce0a8ee243f9cc18fd2 Mon Sep 17 00:00:00 2001
From: Gregory Arenius <gregory@arenius.com>
Date: Fri, 13 Sep 2024 16:13:58 -0700
Subject: [PATCH] Add ACCEL_MOUNT_MATRIX for Chuwi Hi10 Max.
(cherry picked from commit 3f3dc6ab84e1f3cc5371d48ed910044d39f5c033)
Resolves: RHEL-49810
---
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 80547834d2..d88aea4928 100644
--- a/hwdb.d/60-sensor.hwdb
+++ b/hwdb.d/60-sensor.hwdb
@@ -299,6 +299,10 @@ sensor:modalias:acpi:KIOX000A*:dmi:*:svnCHUWIInnovationAndTechnology*:pnHi10X:*
sensor:modalias:acpi:MXC6655*:dmi:*:svnCHUWIINNOVATIONLIMITED:pnHi10Go:*
ACCEL_MOUNT_MATRIX=-1, 0, 0; 0,-1, 0; 0, 0, 1
+# Chuwi Hi10 Max
+sensor:modalias:acpi:MXC6655*:dmi:*:svnCHUWIInnovationAndTechnology*:pnHi10Max:*
+ ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
+
# Chuwi Hi12
sensor:modalias:acpi:BOSC0200*:dmi:*:svnHampoo:pnP02BD6_HI-122LP:*
sensor:modalias:acpi:BOSC0200*:dmi:*:svnDefaultstring:pnDefaultstring:*