diff options
author | Bastien Nocera <hadess@hadess.net> | 2016-12-06 17:16:43 +0100 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2016-12-11 10:55:12 -0500 |
commit | c61e6c912bc6f1e5b11223c705ac4f309434a555 (patch) | |
tree | 269487b0c16956c96cf2da0c92cb85fc38f3951b /COPYING | |
parent | hwdb, rules: update (diff) | |
download | eudev-c61e6c912bc6f1e5b11223c705ac4f309434a555.tar.gz eudev-c61e6c912bc6f1e5b11223c705ac4f309434a555.tar.bz2 eudev-c61e6c912bc6f1e5b11223c705ac4f309434a555.zip |
udev: Add rules for accelerometer orientation quirks
This commit adds a rules file to extract the properties from hwdb
to set on i2c IIO devices. This is used to set the ACCEL_MOUNT_MATRIX
property on IIO devices, to be consumed by iio-sensor-proxy or
equivalent daemon.
The hwdb file contains documentation on how to write quirks. Note
however that mount information is usually exported in:
- the device-tree for ARM devices
- the ACPI DSDT for Intel-compatible devices
but currently not extracted by the kernel.
Also note that some devices have the framebuffer rotation that changes
between the bootloader and the main system, which might mean that the
accelerometer is then wrongly oriented. This is a missing feature in the
i915 kernel driver: https://bugs.freedesktop.org/show_bug.cgi?id=94894
which needs to be fixed, and won't require quirks.
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions