diff options
author | wiertel <wiertel@users.sourceforge.net> | 2017-04-03 09:53:10 +0200 |
---|---|---|
committer | hadess <hadess@users.noreply.github.com> | 2017-04-03 09:53:10 +0200 |
commit | 40591b418327aa1579de9f10fd1c50f3927ecb33 (patch) | |
tree | 537ad5100bcfc02be2e6a432d635b0b6bdf73f1a /hwdb/60-sensor.hwdb | |
parent | Merge pull request #5589 from jasonreeder/claimed_address_fix (diff) | |
download | systemd-40591b418327aa1579de9f10fd1c50f3927ecb33.tar.xz systemd-40591b418327aa1579de9f10fd1c50f3927ecb33.zip |
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.
Diffstat (limited to '')
-rw-r--r-- | hwdb/60-sensor.hwdb | 3 |
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 ######################################### |