You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.5 KiB
32 lines
1.5 KiB
2 days ago
|
From 9a989f6b3c4df2f072181a462f52706e1b5a6b92 Mon Sep 17 00:00:00 2001
|
||
|
From: Waltibaba <Waltibaba@users.noreply.github.com>
|
||
|
Date: Fri, 20 Jan 2023 08:38:13 +0100
|
||
|
Subject: [PATCH] hwdb: Add Chuwi Hi10X (N4120 version) iio matrix
|
||
|
|
||
|
There is a later model version of the Chuwi Hi10X that has significantly changed components compared to the existing hwdb one. Differentiator (on Chuwi forums, in thesofproject, etc.) is the N4120 rather than the N4100 processor.
|
||
|
The svn and pn seem to be identical, my Chuwi Hi10X matches with the old model except for the changed KIOX000A* iio sensor.
|
||
|
With the added ACCEL_MOUNT_MATRIX, my device works on gnome and has the correct (right-up) output in monitor-sensors.
|
||
|
|
||
|
(cherry picked from commit 5d288d228d9a80640a2b49fbdf56a6650df6040a)
|
||
|
|
||
|
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 d82dfbdb58..31f7bf031d 100644
|
||
|
--- a/hwdb.d/60-sensor.hwdb
|
||
|
+++ b/hwdb.d/60-sensor.hwdb
|
||
|
@@ -233,6 +233,10 @@ sensor:modalias:acpi:BOSC0200*:dmi:*:svn*CHUWIINNOVATIONANDTECHNOLOGY*:pnHi10pro
|
||
|
sensor:modalias:acpi:MXC6655*:dmi:*:svnCHUWIInnovationAndTechnology*:pnHi10X:*
|
||
|
ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
|
||
|
|
||
|
+# Chuwi Hi10 X (N4120 processor version)
|
||
|
+sensor:modalias:acpi:KIOX000A*:dmi:*:svnCHUWIInnovationAndTechnology*:pnHi10X:*
|
||
|
+ ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
|
||
|
+
|
||
|
# Chuwi Hi10 Go
|
||
|
sensor:modalias:acpi:MXC6655*:dmi:*:svnCHUWIINNOVATIONLIMITED:pnHi10Go:*
|
||
|
ACCEL_MOUNT_MATRIX=-1, 0, 0; 0,-1, 0; 0, 0, 1
|