]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: Add Chuwi Hi10X (N4120 version) iio matrix
authorWaltibaba <Waltibaba@users.noreply.github.com>
Fri, 20 Jan 2023 07:38:13 +0000 (08:38 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 20 Jan 2023 14:16:05 +0000 (14:16 +0000)
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.

hwdb.d/60-sensor.hwdb

index d82dfbdb58e9f1de99b42aff539630780d2ef230..31f7bf031d7094ff190f1bd06fe85f07ee8fff5b 100644 (file)
@@ -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