[BUG?] how should we handle KEY_SLEEP with Hibernation?

Matthew Garrett mjg59 at srcf.ucam.org
Fri Oct 9 09:22:26 PDT 2009


On Fri, Oct 09, 2009 at 09:20:09AM -0700, Dmitry Torokhov wrote:

> Userspace solution please. The kernel is responsible for handlig issues
> like mechanical jitter but the decision of ignoring certain key presses
> for a period of time is a policy matter and thus belongs to userspace.

Equally, I don't think it's down to hal to do anything here other than 
pass the request along. Whatever implements policy in your system 
(gnome-power-manager under gnome, for instance) should ensure it drops 
identical requests that have arrived before the previous request has 
completed.

-- 
Matthew Garrett | mjg59 at srcf.ucam.org


More information about the hal mailing list