Interrupt/ signal from Accelerometer

Neil Brown neilb at
Tue Feb 23 10:45:05 CET 2010

On Tue, 23 Feb 2010 14:41:43 +0530
Abhishek Bajpai <abhisheietk at> wrote:

> I am working on a project where I want to use hand gesture to wake up the
> device.
> Is it possible to generate signals/interrupts from the accelerometer in
> openmoko??

The current code programs it to generate an interrupt on every sample -
either 100HZ or 400HZ.  I posted some code a while back which makes this much
more flexible, and it will instead generate an interrupt only when there is a
change of a certain magnitude.


and following.

Is that what you wanted, or something else?


More information about the openmoko-kernel mailing list