]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: Add ACCEL_MOUNT_MATRIX for ThinkPad Yoga 11e (#7174)
authorLars Kellogg-Stedman <lars@oddbit.com>
Wed, 25 Oct 2017 11:23:51 +0000 (07:23 -0400)
committerLennart Poettering <lennart@poettering.net>
Wed, 25 Oct 2017 11:23:51 +0000 (13:23 +0200)
Accelerometer readings from the screen accelerometer on the Yoga 11e
need to be rotated 90 degrees around the Z axis.

hwdb/60-sensor.hwdb

index 35b942bde2a5566bbeb7d8e8149e418d4c859fe4..8aec3c6656f8c46cff58994a4c529fd1ae6b1e86 100644 (file)
@@ -152,6 +152,9 @@ sensor:modalias:acpi:KIOX000A*:dmi:*svnLAMINA:pnT-1016BNORD*
 sensor:modalias:acpi:NCPE0388*:dmi:*:rnLenovoYOGA510-14IKB:*
  ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, -1, 0; 0, 0, 1
 
+sensor:modalias:acpi:BOSC0200:BOSC0200:dmi:*ThinkPadYoga11e3rdGen*
+ ACCEL_MOUNT_MATRIX=0, 1, 0; -1, 0, 0; 0, 0, 1
+
 #########################################
 # Peaq
 #########################################
@@ -191,4 +194,3 @@ sensor:modalias:acpi:BMA250*:dmi:*:bvrTREK.G.WI71C.JGBMRBA*:*:svnInsyde:pnST7041
 #########################################
 sensor:modalias:acpi:*KIOX000A*:dmi:*svn*CytrixTechnology:*pn*Complex11t*
  ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
-