Am Monday 16 February 2009 12:59:10 schrieb raghav n: > On Thu, Feb 12, 2009 at 11:45 AM, Simon Kagstrom > > <simon.kagst...@gmail.com>wrote: > > On Thu, 12 Feb 2009 01:23:45 +0100 > > > > "Michael 'Mickey' Lauer" <mic...@openmoko.org> wrote: > > > Am Friday 06 February 2009 23:13:45 schrieb Andy Green: > > > > Michael 'Mickey' Lauer wrote: > > > > > Am Friday 06 February 2009 19:44:19 schrieb raghav n: > > > > > I want my FR to autosuspend when it lies display-down on a flat > > > > > surface and wakeup when shaken. > > > > > > > > Do a find /sys -name wakeup_threshold and wakeup_duration, these > > > > are the guys that enable it. > > > > > > Strike! Thanks Andy, it works. > > > > So waking up from accelerometers now work? That's good news. Anyone > > know what has changed to get it unbroken? When I looked at it, the > > device would never suspend if the wakeup_threshold was set - it would > > just awake immediately regardless of what I set the threshold to (by an > > accelerometer interrupt). > > Could you please send any code snippets that I could look at and use? > Appreciate your help.
I'm not using any code for that, just echo'ing into the appropriate device nodes. I will add framework support for these things when I have some free time. -- :M: _______________________________________________ devel mailing list devel@lists.openmoko.org https://lists.openmoko.org/mailman/listinfo/devel