> > Disabling power button handling in o-p-p made situation better. When
> > I press power button, FR just suspends after 5 seconds or so. Good.
> >
> > However, that stopped working after several days of runtime. FR just
> > ignored power button presses. Restarting fso-frameworkd fixed that.
> >
> > So looks like frameworkd stops processing power button presses after
> > some time? Any hints how to debug this?
>
> Send framework debugging to a file and watch for odeviced.input
> INFO messages.

At last this happened again yesterday.

On NORMAL case (i.e. when freerunner suspends ok), this is logged:

2009.01.21 21:13:43 odeviced.input INFO     name POWER pressed 0
2009.01.21 21:13:43 odeviced.input INFO     name POWER released 0
2009.01.21 21:13:43 oeventsd INFO     call dbus signal 
/org/freesmartphone/Usage Suspend(())
2009.01.21 21:13:43 ousaged  INFO     suspending all resources
2009.01.21 21:13:43 frameworkd.resource INFO     setting resource status for 
GSM from enabled to suspending
2009.01.21 21:13:43 frameworkd.resource INFO     setting resource status for 
GSM from suspending to suspended
2009.01.21 21:34:21 ousaged  INFO     resuming all resources
2009.01.21 21:34:21 odeviced.kernel26 INFO     capacity now 63
2009.01.21 21:34:21 odeviced.idlenotifier INFO     odeviced.idlenotifier state 
change to idle

(notice timestamps - it really suspended for some time)

On PROBLEM case, this is logged:

2009.01.23 14:48:26 odeviced.input INFO     name POWER pressed 0
2009.01.23 14:48:26 odeviced.input INFO     name POWER released 0
2009.01.23 14:48:26 oeventsd INFO     call dbus signal 
/org/freesmartphone/Usage Suspend(())
2009.01.23 14:48:26 ousaged  INFO     suspending all resources
2009.01.23 14:48:26 frameworkd.resource INFO     setting resource status for 
GSM from enabled to suspending
2009.01.23 14:48:36 odeviced.idlenotifier INFO     odeviced.idlenotifier state 
change to idle

(and it did not suspend)

Any futher hints?

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Smartphones-userland mailing list
Smartphones-userland@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland

Reply via email to