]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: Add accel orientation quirk for the Teclast Tbook 11 tablet
authorHans de Goede <hdegoede@redhat.com>
Sat, 17 Apr 2021 17:55:47 +0000 (19:55 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Mon, 19 Apr 2021 10:44:16 +0000 (11:44 +0100)
Add a quirk to fix the accelerometer orientation on the
Teclast Tbook 11 tablet.

hwdb.d/60-sensor.hwdb

index 54f6f34b7f23201a7f06616da628b1e7ed9915cd..233cde854163fcc6dcfdd5509d2d0f838af3d4d3 100644 (file)
@@ -735,6 +735,10 @@ sensor:modalias:acpi:KIOX020A*:dmi:*:svnTECLAST:pnF6Pro:*
  ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
  ACCEL_LOCATION=base
 
+# Teclast Tbook 11 (E5A6)
+sensor:modalias:acpi:KIOX000A*:dmi:*:svnTECLAST:pnTbooK11:*
+ ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
+
 # Teclast X80 Plus (H5C5)
 sensor:modalias:acpi:KIOX000A*:dmi:*:svnTECLAST:pnDefaultstring:*
  ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1