[PATCH] suppress "onkey" events on resume [Was: Re: Where are actions configured for buttons in FSO?]
andy at openmoko.com
Tue Oct 14 06:52:02 CEST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Somebody in the thread at some point said:
| Michael 'Mickey' Lauer wrote:
|> 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?
| This suppresses the key press and key release events from the
| power button, in the case where the power button is the wake
| event for the GTA01 or GTA02 device.
Nice work, thanks for taking the time to solve this. Sent it on stable
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the openmoko-kernel