From d4249582fd01aec5f9c7085f032f005ec2235471 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Sun, 16 Apr 2023 15:57:55 +0200 Subject: 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. --- hwdb.d/60-sensor.hwdb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'hwdb.d') 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 -- cgit v1.2.1