Interrupt/ signal from Accelerometer

Abhishek Bajpai abhisheietk at gmail.com
Tue Feb 23 11:02:13 CET 2010


Thanks Neil

Actually I want to have this threshold interrupt as a signal to my
application ( user land ).
Is there any functional code available demonstrating this functionality.

Thanks Again

On 23 February 2010 15:15, Neil Brown <neilb at suse.de> wrote:

> On Tue, 23 Feb 2010 14:41:43 +0530
> Abhishek Bajpai <abhisheietk at gmail.com> 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??
> >
>
> Yes.
> 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.
>
> See
>
> http://lists.openmoko.org/pipermail/openmoko-kernel/2009-November/010672.html
>
> and following.
>
> Is that what you wanted, or something else?
>
> NeilBrown
>
>


-- 
" Even The word Impossible says I M Possible"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/openmoko-kernel/attachments/20100223/1a202738/attachment.htm 


More information about the openmoko-kernel mailing list