From 1262ecb983ca03f02f6a9f49c86715e7018328bb Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Thu, 22 Aug 2019 08:55:09 +0200 Subject: [PATCH] hwdb: add sensor location for HP ProBook4535s https://bugzilla.redhat.com/show_bug.cgi?id=1717712 --- hwdb/60-sensor.hwdb | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/hwdb/60-sensor.hwdb b/hwdb/60-sensor.hwdb index d46af48b17..c2ac8dab24 100644 --- a/hwdb/60-sensor.hwdb +++ b/hwdb/60-sensor.hwdb @@ -267,7 +267,12 @@ sensor:modalias:acpi:KIOX000A*:dmi:bvnINSYDECorp.:bvrBYT70A.YNCHENG.WIN.007:*:sv # 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 + ACCEL_MOUNT_MATRIX=1, 0, 0; 0, 0, -1; 0, 1, 0 + +# HP laptops which have the lis3lv02d device in the base, tell iio-sensor-proxy +# about this so that the sensor is not used for display orientation +sensor:modalias:platform:lis3lv02d:dmi:*svn*Hewlett-Packard*:*pnHPProBook4535s* + ACCEL_LOCATION=base sensor:modalias:acpi:SMO8500*:dmi:*:svnHewlett-Packard:pnHPStream7Tablet:* sensor:modalias:acpi:SMO8500*:dmi:*:svnHewlett-Packard:pnHPStream8Tablet:* @@ -275,7 +280,7 @@ sensor:modalias:acpi:SMO8500*:dmi:*:svnHewlett-Packard:pnHPStream8Tablet:* # HP Pavillion X2 10-n000nd sensor:modalias:i2c:bmc150_accel:dmi:*:svnHewlett-Packard:pnHPPavilionx2Detachable:*:rn815D:* - ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1 + ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1 ######################################### # I.T.Works