Re: User-space API for accelerometer(s)?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2014-07-23 at 06:02 -0700, Srinivas Pandruvada wrote:
> On 07/23/2014 05:19 AM, Bastien Nocera wrote:
> > On Thu, 2014-07-10 at 08:04 -0700, Srinivas Pandruvada wrote:
> >> I suggest to look at https://01.org/android-ia/downloads. Under
> >> device/intel, you can see user space HAL for sensor hubs.
> > I can't find it anywhere on those pages. There only seems to be
> > installable images, with no source code.
> >
> 
> You can see instruction here to get source code. You can see source in 
> device/intel folder.
> 
> https://01.org/android-ia/downloads/android-4.4.2r1-ia1

Right, I found this:
https://github.com/android-ia/device_intel/blob/release/android-4.1.1_r1-ia0/pc_std/libsensors/SensorConfig.h

Which seems to have a number of bugs (defines "GRAVITY" but actually
uses "GRAVITY_EARTH" in some of the formulas), and doesn't make it clear
which one of the sensors each of the sections are for.

In any case, my problem was simply one of threshold. For reference, I've
also downloaded Microsoft's documentation for hardware manufacturers:
http://msdn.microsoft.com/en-us/library/windows/hardware/dn613934(v=vs.85).aspx

Cheers

--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux