[SHR] some questions

Franky Van Liedekerke liedekef at telenet.be
Thu Nov 13 20:17:08 CET 2008

On Thu, 13 Nov 2008 20:03:24 +0100
Michael 'Mickey' Lauer <mickey at openmoko.org> wrote:

> Am Donnerstag, den 13.11.2008, 19:21 +0100 schrieb Franky Van
> Liedekerke:
> > using the latest SHR preview release, it seems it is possible to
> > get the device to suspend if you're not using an older GTK app and
> > press the power button for some seconds. But sometimes this works,
> > sometimes it doesn't.
> This is a bug that slipped in ms4. Apply the patch from
> http://git.freesmartphone.org/?p=framework.git;a=commitdiff;h=d68130c6c63dc97af0ef6e00c824c01c8403527f

great! I changed the input.py file, do I need to do anything else to
get it to work? Since there is a input.pyo present as well, I'm
assuming that is a compiled version? Hmmm nevermind, I removed that
input.pyo file and that seems to do it ...

> >  Also, shouldn't the device be able to auto-suspend?
> Sure. Just connect a rule to the SUSPEND notification from
> IdleNotifier with the Suspend action.

errr ... a little help? Do you mean something like this
in /etc/frameworkd.conf (taken from the example frameworkd.conf in the

# don't read from accellerometers for GTA02
ignoreinput = 2,3
# configure timeouts (in seconds) here. A value of 0
# means 'never fall into this state' (except programatically)
idle = 10
idle_dim = 20
idle_prelock = 12
lock = 2
suspend = 30

I don't understand all the parameters, maybe adding the "suspend" one
is enough? Since it dims already ...


More information about the community mailing list