From d167ea9886a71fb707abc4b0c06b72a84bc4d47f Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Fri, 30 Mar 2018 20:00:27 +0200 Subject: [PATCH] hwdb: Add accelerometer orientation quirk for the Lenovo Ideapad Miix 310 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 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hwdb/60-sensor.hwdb b/hwdb/60-sensor.hwdb index a782102485..53cb3eee3a 100644 --- a/hwdb/60-sensor.hwdb +++ b/hwdb/60-sensor.hwdb @@ -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 -- 2.25.1