[PATCH] suppress "onkey" events on resume [Was: Re: Where are actions configured for buttons in FSO?]

Andy Green andy at openmoko.com
Tue Oct 14 06:52:02 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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?
|
| suppress-resume-onkey-event.patch
|
| 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
and stable-tracking.

- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkj0JWwACgkQOjLpvpq7dMo69QCglRrAD0NEjdee84HTH4EKTABX
mBgAn0XwlpzgdY5p1Y1ZUwTxXVZG5cme
=2JtR
-----END PGP SIGNATURE-----



More information about the openmoko-kernel mailing list