]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: Add Lenovo IdeaPad D330 accel mount matrix
authorhowl <howl.nsp@gmail.com>
Tue, 25 Dec 2018 22:09:52 +0000 (23:09 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 3 Jan 2019 13:58:37 +0000 (14:58 +0100)
I have the fhd screen with pentium without lte model. Don't know if other models could differ in the accelerometer.

hwdb/60-sensor.hwdb

index 5bce467a24d9e70ff90f1dffb9811fd13b89dce8..c7c1ccabc7e8e463e188e61b124ab76c2c07aa97 100644 (file)
@@ -314,6 +314,10 @@ sensor:modalias:acpi:BMA250E*:dmi:bvnLENOVO:*:pvrLenovoMIIX3-1030:*
 sensor:modalias:acpi:SMO8500*:dmi:bvnLENOVO:*:pvrLenovoMIIX3-830:*
  ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
 
+# IdeaPad D330
+sensor:modalias:acpi:BOSC0200*:dmi:*:svnLENOVO:pn81H3:*
+ 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 and 1HCN2?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:*