Possible incompatible change in behaviour of accelerometers - EV_ABS rather than EV_REL - and other thoughts.

Neil Brown neilb at suse.de
Wed Mar 11 02:36:18 CET 2009


On Tuesday March 10, andy at openmoko.com wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Somebody in the thread at some point said:
> | Hello fellow developers.
> |
> | I have be turning my attention to the accelerometers in the Freerunner
> | recently, and I would like to make a number of improvements.
> | I'll give a bit of an overview below for those who are interested, but
> | the main point of the email is to let you know about a change which
> | I very much hope will go through and will require most applications
> | which use the accelerometers to be changed, though it will probably be
> | a very minor change.
> 
> Apologies for this late change.
> 
> |     If the value were below 50 I would disable that interrupt and use
> |     a kernel timer to sample the values at the desired rate.
> 
> Don't you have to capture everything that's going inbetween samples and
> integrate it?

No.  These are absolute values.  I'm not interested in the integral,
only the current acceleration.



More information about the devel mailing list