From ac6a1b9017b449757fceeff98d21c17986aed6fd Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Thu, 29 Oct 2020 11:29:41 +0100 Subject: [PATCH] hwdb: Add accel orientation quirk for Predia Basic tablet Add a quirk to fix the accelerometer orientation on the Predia Basic tablet. --- hwdb.d/60-sensor.hwdb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb index 7079736a8f..16edca57aa 100644 --- a/hwdb.d/60-sensor.hwdb +++ b/hwdb.d/60-sensor.hwdb @@ -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 #########################################