]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: ACCEL_MOUNT_MATRIX for Irbis TW118 (#16786)
authorbrainrom <ilya77105@gmail.com>
Thu, 20 Aug 2020 08:23:35 +0000 (13:23 +0500)
committerGitHub <noreply@github.com>
Thu, 20 Aug 2020 08:23:35 +0000 (10:23 +0200)
This was required to get orientation sensor work properly in my tablet.

hwdb.d/60-sensor.hwdb

index 980adb197e405bd44e586c5bfbc2e4595f5b51f8..fefa5f14bb9d82c3aeb9a1b3116fb41e4a6f7a96 100644 (file)
@@ -381,11 +381,17 @@ sensor:modalias:acpi:BMA250*:dmi:*:bvritWORKS.G.WI71C.JGBMRB*:*:svnInsyde:pni71c
  ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
 
 #########################################
-# Irbis TW90
+# Irbis
 #########################################
+
+#TW90
 sensor:modalias:acpi:BOSC0200*:dmi:*:svnIRBIS:pnTW90:*
  ACCEL_MOUNT_MATRIX=0, 1, 0; -1, 0, 0; 0, 0, 1
 
+#TW118
+sensor:modalias:acpi:BOSC0200*:dmi:*:svnIRBIS:pnTW118:*
+ ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
+
 #########################################
 # iOTA 360
 #########################################