linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bastien Nocera <hadess@hadess.net>
To: systemd Mailing List <systemd-devel@lists.freedesktop.org>,
	"Thomas H.P. Andersen" <phomes@gmail.com>,
	Hans de Goede <hdegoede@redhat.com>,
	linux-iio@vger.kernel.org, linux-acpi@vger.kernel.org
Subject: mount-matrix support, user-space "done"
Date: Fri, 02 Dec 2016 18:36:06 +0100	[thread overview]
Message-ID: <1480700166.14634.5.camel@hadess.net> (raw)

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

                 reply	other threads:[~2016-12-02 17:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1480700166.14634.5.camel@hadess.net \
    --to=hadess@hadess.net \
    --cc=hdegoede@redhat.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=phomes@gmail.com \
    --cc=systemd-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).