summaryrefslogtreecommitdiff
path: root/hwdb.d
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2023-04-16 15:57:55 +0200
committerLuca Boccassi <luca.boccassi@gmail.com>2023-04-16 23:33:05 +0100
commitd4249582fd01aec5f9c7085f032f005ec2235471 (patch)
treeda13ba2c5300f3a10e929d27e3318fd252f9b616 /hwdb.d
parentad7793b59ca149764ebaffd6b84337b35b172ea4 (diff)
downloadsystemd-d4249582fd01aec5f9c7085f032f005ec2235471.tar.gz
hwdb: add accelerometer mount matrix for Lenovo Yoga Tablet 2 851F/L
Add an accelerometer mount matrix for Lenovo Yoga Tablet 2 851F/L, to fix screen rotation now that the kernel has support for the LSM303D IMU.
Diffstat (limited to 'hwdb.d')
-rw-r--r--hwdb.d/60-sensor.hwdb4
1 files changed, 4 insertions, 0 deletions
diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb
index bbc0533c13..038e9dc013 100644
--- a/hwdb.d/60-sensor.hwdb
+++ b/hwdb.d/60-sensor.hwdb
@@ -651,6 +651,10 @@ sensor:modalias:i2c:bmc150_accel:dmi:*:svnLENOVO:*:pvrLenovoYoga300-11IBR:*
ACCEL_MOUNT_MATRIX=1, 0, 0; 0, 1, 0; 0, 0, -1
ACCEL_LOCATION=base
+# Yoga Tablet 2 851F/L
+sensor:modalias:acpi:ACCL0001*:dmi:*:svnLENOVO:pn60072:pvr851*:*
+ ACCEL_MOUNT_MATRIX=0, 1, 0; -1, 0, 0; 0, 0, 1
+
# IdeaPad Duet 3 10IGL5 (82AT)
sensor:modalias:acpi:SMO8B30*:dmi:*:svnLENOVO*:pn82AT:*
ACCEL_MOUNT_MATRIX=0, 1, 0; -1, 0, 0; 0, 0, 1