summaryrefslogtreecommitdiffstats
path: root/hwdb.d/60-sensor.hwdb
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2020-11-14 17:10:51 +0100
committerHans de Goede <hdegoede@redhat.com>2020-11-18 21:23:35 +0100
commit21b58655f3bd029fa8fe04e02e1c3546f110c524 (patch)
treeef95170aedca0e64746809caf7b55763489a2eb6 /hwdb.d/60-sensor.hwdb
parenthwdb: Add base accelerometer orientation quirk for base sensor of Medion Akoy... (diff)
downloadsystemd-21b58655f3bd029fa8fe04e02e1c3546f110c524.tar.xz
systemd-21b58655f3bd029fa8fe04e02e1c3546f110c524.zip
hwdb: Fix accel orientation quirk Z-axis for Lenovo ThinkPad Yoga 11e 3th gen
The Lenovo ThinkPad Yoga 11e 360 degree hinges style 2-in-1s use 2 accelerometers, 1 in the display and 1 in the base. Kernel work is under way to also export the second accelerometer in the base as an iio-device; and userspace work is underway to use both accelerometers on 360 degree hinges style 2-in-1s (with 2 accels) to figure out the angle between the 2 halves. So far most orientation-matrix quirks have not cared much about the Z-axis being correct, but in these 2 accelerometer setups getting the Z-axis correct is important too.
Diffstat (limited to '')
-rw-r--r--hwdb.d/60-sensor.hwdb2
1 files changed, 1 insertions, 1 deletions
diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb
index 4a5aeb0c96..202fada5f9 100644
--- a/hwdb.d/60-sensor.hwdb
+++ b/hwdb.d/60-sensor.hwdb
@@ -468,7 +468,7 @@ sensor:modalias:acpi:NCPE0388*:dmi:*:rnLenovoYOGA510-14IKB:*
ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, -1, 0; 0, 0, 1
sensor:modalias:acpi:BOSC0200*:dmi:*ThinkPadYoga11e3rdGen:*
- ACCEL_MOUNT_MATRIX=0, 1, 0; -1, 0, 0; 0, 0, 1
+ ACCEL_MOUNT_MATRIX=0, 1, 0; -1, 0, 0; 0, 0, -1
# Miix3-1030
sensor:modalias:acpi:BMA250E*:dmi:bvnLENOVO:*:pvrLenovoMIIX3-1030:*