Re: Suspend/Resume question

2008-11-01 Thread Michael 'Mickey' Lauer
Am Saturday 01 November 2008 18:09:13 schrieb Nicola Mfb:
> 2008/11/1 Robin Paulson <[EMAIL PROTECTED]>
>
> > 2008/11/2 Nicola Mfb <[EMAIL PROTECTED]>:
> > > 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:

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Suspend/Resume question

2008-11-01 Thread Nicola Mfb
2008/11/1 Robin Paulson <[EMAIL PROTECTED]>

> 2008/11/2 Nicola Mfb <[EMAIL PROTECTED]>:
> > 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.
Thank you very much!

Nicola
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Suspend/Resume question

2008-11-01 Thread Robin Paulson
2008/11/2 Nicola Mfb <[EMAIL PROTECTED]>:
> 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

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Suspend/Resume question

2008-11-01 Thread Nicola Mfb
Hi!
How to determine the event/device (alarm/incoming call/sms/power button
etc.) that resumed a suspended Freerunner?

Regards

 Nicola
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community