From: Hans de Goede Date: Fri, 30 Mar 2018 18:00:27 +0000 (+0200) Subject: hwdb: Add accelerometer orientation quirk for the Lenovo Ideapad Miix 310 X-Git-Tag: v239~448^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d167ea9886a71fb707abc4b0c06b72a84bc4d47f;p=thirdparty%2Fsystemd.git 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). --- diff --git a/hwdb/60-sensor.hwdb b/hwdb/60-sensor.hwdb index a7821024855..53cb3eee3a4 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