summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaltibaba <Waltibaba@users.noreply.github.com>2023-01-20 08:38:13 +0100
committerLuca Boccassi <luca.boccassi@gmail.com>2023-01-20 14:16:05 +0000
commit5d288d228d9a80640a2b49fbdf56a6650df6040a (patch)
tree8f5e90dd7fc2b4d78c40cd6958d0a9b0e9c84c59
parent09595fd5f2afbcf2b71f9788049bd2d7a8a1248f (diff)
downloadsystemd-5d288d228d9a80640a2b49fbdf56a6650df6040a.tar.gz
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.
-rw-r--r--hwdb.d/60-sensor.hwdb4
1 files changed, 4 insertions, 0 deletions
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