Where are actions configured for buttons in FSO?

Michael 'Mickey' Lauer mickey at openmoko.org
Tue Sep 30 08:25:56 CEST 2008

Am Montag, den 29.09.2008, 20:18 -0400 schrieb digger vermont:
> On Mon, 2008-09-29 at 22:10 +0200, Johny Tenfinger wrote:
> > Listen to dbus signals. dbus is a power of fso framerork :)
> > 
> > Happy hacking ;)
> > 
> Yeah, I'm all for frameworkd!  Problem is as far as I can see it's not
> currently being used to configure the PWR button, at least as far as I
> can see.  So what is currently telling the PWR button to suspend if it
> is pressed for 3(?) seconds?

Zhone is doing that currently.

> Gonna have to defeat that before I can use
> frameworkd and dbus to control it.

Right. I have started removing functionality out of Zhone to the rules
file, so that it's much more customizable and will work every time -- no
matter if a UI or which UI is running.

I will soon move the suspend functionality into the rules files as well
-- unfortunately resume is broken in the current kernels, so this has to
wait a bit.

The problem is (and this is the reason why I'm crossposting this to the
kernel mailing list), the kernel is not swallowing the power button
presses that triggers the resume, so you need some "real" programming
(as opposed to the expressional complexity of our rules) in order to
prevent falling asleep right after resume.

Kernel-guys, can we change that?


More information about the openmoko-kernel mailing list