[PATCH] suppress "onkey" events on resume [Was: Re: Where are actions configured for buttons in FSO?]
Mike (mwester)
mwester at dls.net
Tue Oct 14 04:47:51 CEST 2008
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.
Signed-off-by: Mike Westerhof <mwester at dls.net>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: suppress-resume-onkey-event.patch
Url: http://lists.openmoko.org/pipermail/openmoko-kernel/attachments/20081013/59e83246/attachment.txt
More information about the openmoko-kernel
mailing list