]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: Add accel orientation quirk for Predia Basic tablet
authorHans de Goede <hdegoede@redhat.com>
Thu, 29 Oct 2020 10:29:41 +0000 (11:29 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 29 Oct 2020 16:41:24 +0000 (17:41 +0100)
Add a quirk to fix the accelerometer orientation on the
Predia Basic tablet.

hwdb.d/60-sensor.hwdb

index 7079736a8faa718c05ebd851727575a822eaafca..16edca57aae1be9198d61c903254968f71935265 100644 (file)
@@ -650,6 +650,14 @@ sensor:modalias:acpi:KIOX000A*:dmi:*:rvnPOV:rnI102A:*
 sensor:modalias:i2c:bmc150_accel:dmi:bvnINSYDECorp.:*:svnInsyde:pnBayTrail:*:rvn105B:rn0E57:*
  ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
 
+#########################################
+# Predia
+#########################################
+
+# Predia Basic tablet, most DMI strings are generic, match on BIOS version
+sensor:modalias:acpi:BOSC0200*:dmi:bvnINSYDECorp.:bvrMx.WT107.KUBNGEA*svnInsyde:pnCherryTrail:*
+ ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
+
 #########################################
 # Prowise
 #########################################