mount-matrix support, user-space "done"
Hey accelerometer lovers,
I have, bar any bugs obviously, finished adding support for "mount- matrix" in iio-sensor-proxy.
The code reads the "ACCEL_MOUNT_MATRIX" udev property of the device, which it will apply to raw readings. After testing, I will provide a patch to systemd's hwdb to gather all the quirks that were provided to me.
Note that, for now, I expect all those quirks to be added to the hwdb file in systemd, even if available in Device Tree or the ACPI _PLD property.
In both of those cases, as I don't have the hardware to test with, somebody will need to add a rule to udev to extract the mount-matrix property attached to the iio sensor device, using the "IMPORT". Hans?
For the _PLD, this isn't currently exported by the kernel at all. Maybe a minimal version of this patch:
http://www.spinics.net/lists/linux-acpi/msg51540.html
could be added to the IIO subsystem so that the iio core exports the information from both sources in the same way.
I expect Thomas and Carlos (both CC:'ed) to come back to me with the quirks for their devices, so I can finalise the systemd/udev hwdb patch, documentation included.
Cheers