5 lines
297 B
Text
5 lines
297 B
Text
# Invert the acceleration so it is directed downwards, at rest on a planet.
|
|
# This is for compatibility with iio-sensor-proxy.
|
|
#
|
|
# https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/issues/375
|
|
SUBSYSTEM=="misc", KERNEL=="fastrpc-adsp", ENV{ACCEL_MOUNT_MATRIX}="-1, 0, 0; 0, -1, 0; 0, 0, -1"
|