aboutsummaryrefslogtreecommitdiff
path: root/hwdb
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2018-10-29 13:31:39 +0000
committerLennart Poettering <lennart@poettering.net>2018-10-30 11:02:51 +0100
commit0d1a2be93e16aa03026f1c36e81951097e8dad2c (patch)
treeadb8424cdcfa21299051c135eb8121a39b1e8706 /hwdb
parenthwdb: add a click angle entry for the Logitech MX Anywhere 2s (diff)
downloadsystemd-0d1a2be93e16aa03026f1c36e81951097e8dad2c.tar.gz
systemd-0d1a2be93e16aa03026f1c36e81951097e8dad2c.tar.bz2
systemd-0d1a2be93e16aa03026f1c36e81951097e8dad2c.zip
hwdb: Apply the same quirk to all the lis3lv02d devices
HP laptops and desktop containing the lis3lv02d device (as supported by the drivers/platform/x86/hp_accel.c driver) are supposed to output their values according to their "standard" orientation, one that corresponds to "can play neverball". For all those devices, we need to convert that "neverball" orientation to a "Windows 8" orientation. We will not accept quirks for HP machines that use the lis3lv02d device, they should go in the hp_accel.c driver instead. Closes: #5160
Diffstat (limited to 'hwdb')
-rw-r--r--hwdb/60-sensor.hwdb8
1 files changed, 6 insertions, 2 deletions
diff --git a/hwdb/60-sensor.hwdb b/hwdb/60-sensor.hwdb
index acfbd3f7d..9db663713 100644
--- a/hwdb/60-sensor.hwdb
+++ b/hwdb/60-sensor.hwdb
@@ -228,8 +228,12 @@ sensor:modalias:acpi:KIOX000A*:dmi:bvnINSYDECorp.:bvrBYT70A.YNCHENG.WIN.007:*:sv
#########################################
# HP
#########################################
-sensor:modalias:platform:lis3lv02d:dmi:*svn*Hewlett-Packard*:*pn*HPEliteBook8540w*
-sensor:modalias:platform:lis3lv02d:dmi:*svn*Hewlett-Packard*:*pn*HPEliteBook8560w*
+
+# Laptops using the lis3lv02d device should have a first quirk applied
+# to them in the drivers/platform/x86/hp_accel.c in the kernel. The
+# quirk from "can play neverball" to "matches Windows 8 orientation"
+# is then applied below.
+sensor:modalias:platform:lis3lv02d:dmi:*svn*Hewlett-Packard*:*
ACCEL_MOUNT_MATRIX=1, 0, 0; 0, 0, -1; 0, 1, 0
sensor:modalias:acpi:SMO8500*:dmi:*:svnHewlett-Packard:pnHPStream7Tablet:*