Thanks Neil<br><br>Actually I want to have this threshold interrupt as a signal to my application ( user land ). <br>Is there any functional code available demonstrating this functionality.<br><br>Thanks Again<br><br><div class="gmail_quote">
On 23 February 2010 15:15, Neil Brown <span dir="ltr">&lt;<a href="mailto:neilb@suse.de">neilb@suse.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Tue, 23 Feb 2010 14:41:43 +0530<br>
<div class="im">Abhishek Bajpai &lt;<a href="mailto:abhisheietk@gmail.com">abhisheietk@gmail.com</a>&gt; wrote:<br>
<br>
</div><div class="im">&gt; I am working on a project where I want to use hand gesture to wake up the<br>
&gt; device.<br>
&gt; Is it possible to generate signals/interrupts from the accelerometer in<br>
&gt; openmoko??<br>
&gt;<br>
<br>
</div>Yes.<br>
The current code programs it to generate an interrupt on every sample -<br>
either 100HZ or 400HZ.  I posted some code a while back which makes this much<br>
more flexible, and it will instead generate an interrupt only when there is a<br>
change of a certain magnitude.<br>
<br>
See<br>
  <a href="http://lists.openmoko.org/pipermail/openmoko-kernel/2009-November/010672.html" target="_blank">http://lists.openmoko.org/pipermail/openmoko-kernel/2009-November/010672.html</a><br>
<br>
and following.<br>
<br>
Is that what you wanted, or something else?<br>
<br>
NeilBrown<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>&quot; Even The word Impossible says I M Possible&quot;<br>