]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: Add accelerometer orientation quirk for the Lenovo Ideapad Miix 310
authorHans de Goede <hdegoede@redhat.com>
Fri, 30 Mar 2018 18:00:27 +0000 (20:00 +0200)
committerHans de Goede <hdegoede@redhat.com>
Fri, 30 Mar 2018 18:00:27 +0000 (20:00 +0200)
Add an accelerometer orientation quirk for the Lenovo Ideapad Miix 310.
Note this quirk is limited to the production batches which ship with a
portrait panel, rather then with a landscape panel (recognized by the
different BIOS version these 2 variants use).

hwdb/60-sensor.hwdb

index a78210248550a779c4f7379f19aeb9add1d95648..53cb3eee3a44be8609ef82725e87425076884fa7 100644 (file)
@@ -230,6 +230,11 @@ sensor:modalias:acpi:BOSC0200:BOSC0200:dmi:*ThinkPadYoga11e3rdGen*
 sensor:modalias:acpi:BMA250E*:dmi:bvnLENOVO:*:pvrLenovoMIIX3-1030:*
  ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
 
+# IdeaPad Miix 310 note this only is for BIOS version (bvr) 1HCN4?WW, which has
+# a portrait LCD panel, versions with bvr 1HCN3?WW have a landscape panel
+sensor:modalias:acpi:KIOX000A*:dmi:bvnLENOVO:bvr1HCN4?WW:*:svnLENOVO:pn80SG:*
+ ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 1
+
 # IdeaPad Miix 320
 sensor:modalias:acpi:*BOSC0200*:dmi:*:svnLENOVO*:pn80XF:*
  ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1