Just doing talk with no show code - idea for an openmoko app - shakewake
raghav.moko at gmail.com
Thu Feb 12 03:01:55 CET 2009
On Thu, Feb 12, 2009 at 5:53 AM, Michael 'Mickey' Lauer <mickey at openmoko.org
> 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:
> > >> Am just talking with no show code! I got this idea but not sure if its
> > >> already there. I use the power button to suspend the freerunner and to
> > >> wake it up too. I am not happy with it because I am a little scared
> > >> the button's lifetime will reduce. So, I got this idea of having an
> > >> that displays an icon on the Home screen which on being pressed will
> > >> suspend the freerunner and give it a shake to wake it up. Any
> > >
> > > I want my FR to autosuspend when it lies display-down on a flat surface
> > > and wakeup when shaken.
> > >
> > > All these nice ideas are pending working resume on accellerometer
> > > (with configurable wakeup-threshold). What's the current status for
> > Do a find /sys -name wakeup_threshold and wakeup_duration, these are
> > the guys that enable it.
> Strike! Thanks Andy, it works. One minor glitch is that after a wakeup the
> programmed threshold (not the wakeup_threshold, the usual threshold) seems
> be reset but the sysfs still shows the same value, so we should reprogram
> that (preferred) or reflect the reset in the sysfs (2nd best).
> Thanks again, this opens up for some nice tricks!
Wonderful! Could you please pass me some code snippet I could try?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the devel