summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiertel <wiertel@users.sourceforge.net>2017-04-03 09:53:10 +0200
committerhadess <hadess@users.noreply.github.com>2017-04-03 09:53:10 +0200
commit40591b418327aa1579de9f10fd1c50f3927ecb33 (patch)
tree537ad5100bcfc02be2e6a432d635b0b6bdf73f1a
parent88be0aa2263cff089806efa5fc92bb5c9b747610 (diff)
hwdb: Asus TP300LJ accelerometer quirks (#5681)
iio-sensor-proxy expects the accelerometer oriented as follows: positive x - to the right, positive y - up (opposite to gravity). The hardware in the Asus TP300LJ-DW049H is however oriented differently: positive x - down, positive y - to the left This commit adds a ACCEL_MOUNT_MATRIX quirk for this particular laptop model.
-rw-r--r--hwdb/60-sensor.hwdb3
1 files changed, 3 insertions, 0 deletions
diff --git a/hwdb/60-sensor.hwdb b/hwdb/60-sensor.hwdb
index 454f403761..2436ca7367 100644
--- a/hwdb/60-sensor.hwdb
+++ b/hwdb/60-sensor.hwdb
@@ -47,6 +47,9 @@
sensor:modalias:acpi:SMO8500*:dmi:*svn*ASUSTeK*:*pn*TP500LB*
ACCEL_MOUNT_MATRIX=0, 1, 0; 1, 0, 0; 0, 0, 0
+sensor:modalias:acpi:SMO8500*:dmi:*svn*ASUSTeK*:*pn*TP300LJ*
+ ACCEL_MOUNT_MATRIX=0, -1, 0; -1, 0, 0; 0, 0, 1
+
#########################################
# Endless
#########################################