]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: Add accel orientation quirk for Lenovo ThinkPad Yoga 11e 4th gen
authorHans de Goede <hdegoede@redhat.com>
Sat, 14 Nov 2020 16:09:04 +0000 (17:09 +0100)
committerHans de Goede <hdegoede@redhat.com>
Wed, 18 Nov 2020 20:23:35 +0000 (21:23 +0100)
Add a quirk to fix the accelerometer orientation on the Lenovo
ThinkPad Yoga 11e 4th gen 360 degree hinges 2-in-1.

hwdb.d/60-sensor.hwdb

index 202fada5f9a578f9b9467ecdb9d6e3aa38ac262c..c568a8d22f4ecd2ce005d4163f4b162ecb06446b 100644 (file)
@@ -470,6 +470,9 @@ sensor:modalias:acpi:NCPE0388*:dmi:*:rnLenovoYOGA510-14IKB:*
 sensor:modalias:acpi:BOSC0200*:dmi:*ThinkPadYoga11e3rdGen:*
  ACCEL_MOUNT_MATRIX=0, 1, 0; -1, 0, 0; 0, 0, -1
 
+sensor:modalias:acpi:BOSC0200*:dmi:*:svnLENOVO:*pvrThinkPadYoga11e4thGen:*
+ ACCEL_MOUNT_MATRIX=0, 1, 0; -1, 0, 0; 0, 0, -1
+
 # Miix3-1030
 sensor:modalias:acpi:BMA250E*:dmi:bvnLENOVO:*:pvrLenovoMIIX3-1030:*
  ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1