summaryrefslogtreecommitdiff
path: root/hwdb/60-sensor.hwdb
AgeCommit message (Collapse)Author
2017-01-28hwdb: Asus TP500LB accelerometer supportM0Rf30
2017-01-28hwdb: references added to hwdb rules format, needed to write ↵M0Rf30
syntax-correctly rules
2017-01-28hwdb: use -y option to udevadm trigger to correctly do sysname-matchM0Rf30
2016-12-10udev: Add rules for accelerometer orientation quirksBastien Nocera
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.