]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: Mark Intel Sensor Hub's accel sensor on Vostro 5581 as being in the base 13997/head
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Mon, 11 Nov 2019 16:30:46 +0000 (00:30 +0800)
committerKai-Heng Feng <kai.heng.feng@canonical.com>
Mon, 11 Nov 2019 16:30:46 +0000 (00:30 +0800)
This laptop uses the accelerometer as a freefall sensor, so mark it as
in base to prevent screen rotation.

hwdb.d/60-sensor.hwdb

index 9268f2c9cba646e8e64198da00b73841500d2a3c..c4931863062832cd19863655f22cbb6de3b7e562 100644 (file)
@@ -229,6 +229,12 @@ sensor:modalias:acpi:BOSC0200*:dmi:*:svnCube:pnI15-TC:*
 sensor:modalias:acpi:*KIOX000A*:dmi:*svn*CytrixTechnology:*pn*Complex11t*
  ACCEL_MOUNT_MATRIX=-1, 0, 0; 0, 1, 0; 0, 0, 1
 
+#########################################
+# Dell
+#########################################
+sensor:modalias:platform:HID-SENSOR-200073:dmi:*svnDell*:pnVostro5581:*
+ ACCEL_LOCATION=base
+
 #########################################
 # DEXP
 #########################################