]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: Add accel orientation quirk for Teclast X89 tablet 14216/head
authorHans de Goede <hdegoede@redhat.com>
Sun, 1 Dec 2019 14:55:00 +0000 (15:55 +0100)
committerHans de Goede <hdegoede@redhat.com>
Sun, 1 Dec 2019 14:56:26 +0000 (15:56 +0100)
Add a quirk to fix the accelerometer orientation on the Teclast X89 tablet.

hwdb.d/60-sensor.hwdb

index f37f1018ed9b94937ab41c604272806b0104bc6f..f2338b2b10db561df5122ea0e03368c28a208551 100644 (file)
@@ -572,6 +572,10 @@ sensor:modalias:acpi:KIOX000A*:dmi:*:svnTECLAST:pnDefaultstring:*
 sensor:modalias:acpi:KIOX000A*:dmi:*:svnTECLAST:pnX80Pro:*
  ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
 
+# Teclast X89 (E7ED), "tPAD" is too generic also match on BIOS date
+sensor:modalias:acpi:SMO8500*:dmi:*bd12/19/2014:*:rvnTECLAST:rntPAD:*
+ ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
+
 # Teclast X98 Plus I (A5C6), generic DMI strings, match entire dmi modalias inc. bios-date
 sensor:modalias:acpi:KIOX000A*:dmi:bvnAmericanMegatrendsInc.:bvr5.011:bd11/03/2015:svnTobefilledbyO.E.M.:pnTobefilledbyO.E.M.:pvrTobefilledbyO.E.M.:rvnAMICorporation:rnCherryTrailCR:rvrTobefilledbyO.E.M.:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
  ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1