]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: Add accel. mount matrix and location for the Trekstor Primebook C11B 13402/head
authorHans de Goede <hdegoede@redhat.com>
Sun, 25 Aug 2019 18:34:34 +0000 (20:34 +0200)
committerHans de Goede <hdegoede@redhat.com>
Sun, 25 Aug 2019 18:36:54 +0000 (20:36 +0200)
The Trekstor Primebook C11B 2-in-1 has 2 accelerometers. Add mount-matrix
and location info for both to 60-sensor.hwdb.

hwdb/60-sensor.hwdb

index e03e620671977fe3cd22640fca64b29329423181..0b440f40448418a74a02b8b4b8d3d0772ce26b52 100644 (file)
@@ -552,6 +552,14 @@ sensor:modalias:acpi:KIOX000A*:dmi:*:svnTREKSTOR:pnPrimetabT13B:*
 sensor:modalias:acpi:BOSC0200*:dmi:*:svnTrekStor*:pnSurfTabtwin11.6:*
  ACCEL_MOUNT_MATRIX=1, 0, 0; 0, -1, 0; 0, 0, 1
 
+sensor:modalias:acpi:KIOX010A*:dmi:*:svnTREKSTOR:pnPRIMEBOOKC11B:*
+ ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, -1, 0; 0, 0, -1
+ ACCEL_LOCATION=display
+
+sensor:modalias:acpi:KIOX020A*:dmi:*:svnTREKSTOR:pnPRIMEBOOKC11B:*
+ ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
+ ACCEL_LOCATION=base
+
 #########################################
 # Umax
 #########################################