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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 09, 2009 at 10:38:26AM +0800, Wu Zhangjin wrote:
> Hello,
> 
> A user reported such a problem on YeeLoong laptop:
> 
> He tried to make his system go into hibernation, so he pressed "Fn +
> F1"(KEY_SLEEP), but the system is VERY busy, he got NO(very slow)
> response, so, he tried "Fn + F1" again and again, at last, the system
> hibernated, and then, he tried to resume it from hibernation, the system
> booted normally but after entering into the system, it responded the
> not-handled KEY_SLEEPs, and went into hibernation again and again until
> there was no KEY_SLEEP left.
> 
> I guess this is not a YeeLoong-specific problem, perhaps we can try to
> make HAL(hald-addon-input) only handle ONE KEY_SLEEP event in a fixed
> time range to avoid this problem, or handle it in kernel-space?
> 

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.

-- 
Dmitry
_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm

[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux