<br><div class="gmail_quote">On Thu, Feb 12, 2009 at 11:45 AM, Simon Kagstrom <span dir="ltr">&lt;<a href="mailto:simon.kagstrom@gmail.com">simon.kagstrom@gmail.com</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;">
<div class="Ih2E3d">On Thu, 12 Feb 2009 01:23:45 +0100<br>
&quot;Michael &#39;Mickey&#39; Lauer&quot; &lt;<a href="mailto:mickey@openmoko.org">mickey@openmoko.org</a>&gt; wrote:<br>
<br>
&gt; Am Friday 06 February 2009 23:13:45 schrieb Andy Green:<br>
&gt; &gt; Michael &#39;Mickey&#39; Lauer wrote:<br>
&gt; &gt; &gt; Am Friday 06 February 2009 19:44:19 schrieb raghav n:<br>
</div><div class="Ih2E3d">&gt; &gt; &gt; I want my FR to autosuspend when it lies display-down on a flat<br>
&gt; &gt; &gt; surface and wakeup when shaken.<br>
&gt; &gt; &gt;<br>
</div><div class="Ih2E3d">&gt; &gt; Do a find /sys -name wakeup_threshold &nbsp; &nbsp;and wakeup_duration, these<br>
&gt; &gt; are the guys that enable it.<br>
&gt;<br>
&gt; Strike! Thanks Andy, it works.<br>
<br>
</div>So waking up from accelerometers now work? That&#39;s good news. Anyone<br>
know what has changed to get it unbroken? When I looked at it, the<br>
device would never suspend if the wakeup_threshold was set - it would<br>
just awake immediately regardless of what I set the threshold to (by an<br>
accelerometer interrupt).</blockquote><div><br>Could you please send any code snippets that I could look at and use? Appreciate your help. <br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
Nice to hear this anyway!<br>
<font color="#888888"><br>
// Simon<br>
</font><div><div></div><div class="Wj3C7c"><br>
<br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@lists.openmoko.org">devel@lists.openmoko.org</a><br>
<a href="https://lists.openmoko.org/mailman/listinfo/devel" target="_blank">https://lists.openmoko.org/mailman/listinfo/devel</a><br>
</div></div></blockquote></div><br>