Suspend/Resume question

Michael 'Mickey' Lauer mickey at openmoko.org
Sat Nov 1 21:40:29 CET 2008


Am Saturday 01 November 2008 18:09:13 schrieb Nicola Mfb:
> 2008/11/1 Robin Paulson <robin.paulson at gmail.com>
>
> > 2008/11/2 Nicola Mfb <nicola.mfb at gmail.com>:
> > > How to determine the event/device (alarm/incoming call/sms/power button
> > > etc.) that resumed a suspended Freerunner?
> >
> > http://wiki.openmoko.org/wiki/GTA02_sysfs#Resume_Reason
>
> Great!
> I was searching without success for a general way to achieve this on others
> platform too.
> This is enough for me to ignore the next power button event if freerunner
> resume from the power button itself.

With a recent kernel, you no longer need to do this. The kernel now masks this 
button event if it was used to wakeup the device.

-- 
:M:




More information about the community mailing list