* mount-matrix support, user-space "done"
@ 2016-12-02 17:36 Bastien Nocera
0 siblings, 0 replies; only message in thread
From: Bastien Nocera @ 2016-12-02 17:36 UTC (permalink / raw)
To: systemd Mailing List, Thomas H.P. Andersen, Hans de Goede,
linux-iio, linux-acpi
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-12-02 17:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-02 17:36 mount-matrix support, user-space "done" Bastien Nocera
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).