Messages in this thread | | | Date | Mon, 15 Sep 2014 14:13:58 -0700 | From | Darren Hart <> | Subject | Re: [PATCH v2 3/5] toshiba_acpi: Fix accelerometer direction reporting |
| |
On Mon, Sep 15, 2014 at 02:01:23PM -0700, H. Peter Anvin wrote: > On 09/15/2014 12:56 PM, Greg Kroah-Hartman wrote: > > > >> I have also suggested this device (2 actually) would be better supported as an > >> IIO accelerometer device, but even that would change the sysfs interface by > >> removing these altogether and using the IIO standardized path and accelerometer > >> interface. > > > > That's a better goal overall, then the "odd" sysfs files are now gone, > > to be replaced with the standard interface which all tools should > > already be using. > > > > I would definitely agree with that, although I understood there were > technical concerns with that? > > -hpa
Yes, the accelerometer is hidden behind two ACPI HIDs with a very limited polled position and acceleration threshold interface. I've asked the IIO maintainer if this would be feasible to use as an IIO device, but have not yet heard back.
Jonathan and linux-iio added to Cc.
-- Darren Hart Intel Open Source Technology Center
| |