summaryrefslogtreecommitdiff
path: root/hwdb.d
diff options
context:
space:
mode:
authorKai-Heng Feng <kai.heng.feng@canonical.com>2019-11-12 00:30:46 +0800
committerKai-Heng Feng <kai.heng.feng@canonical.com>2019-11-12 00:30:46 +0800
commitfe156aeafccdae909159ceb4d82c44fcecc2edf2 (patch)
treedcde43e2f05990204473d1af583daa567aa780ce /hwdb.d
parent5b1733cdae97a5a56fb6973bcdf799662e851de1 (diff)
downloadsystemd-fe156aeafccdae909159ceb4d82c44fcecc2edf2.tar.gz
hwdb: Mark Intel Sensor Hub's accel sensor on Vostro 5581 as being in the base
This laptop uses the accelerometer as a freefall sensor, so mark it as in base to prevent screen rotation.
Diffstat (limited to 'hwdb.d')
-rw-r--r--hwdb.d/60-sensor.hwdb6
1 files changed, 6 insertions, 0 deletions
diff --git a/hwdb.d/60-sensor.hwdb b/hwdb.d/60-sensor.hwdb
index 9268f2c9cb..c493186306 100644
--- a/hwdb.d/60-sensor.hwdb
+++ b/hwdb.d/60-sensor.hwdb
@@ -230,6 +230,12 @@ 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
#########################################
sensor:modalias:acpi:SMO8500*:dmi:*svn*DEXP*:*pn*DEXPOEM*