http://bugzilla.kernel.org/show_bug.cgi?id=10509





------- Comment #25 from [EMAIL PROTECTED]  2008-06-02 01:40 -------
Hi, Walken
   Thanks for the test.
   From the test log we can know that the root cause is that sometimes several
events will be produced when the power button is pressed once. When the power
button script and acpid are used, the following two cases will be affected:
   a. Press power button to enter the suspend state
      After the power button is pressed once, maybe two events will be sent to
the user space. When the acpid receives the first power event, the power button
script will be called to enter the suspend state and the second power event
will still be sent to user space. After the system is resumed, the second power
button event will be processed and the power button script will be called to
enter the suspend again. 
   b. Press power button to wake the sleeping state
      Power button is pressed to wake the sleeping state and maybe it will
produce two events. The first event will wake up the sleeping state and not be
sent to the user space(In fact it won't be processed by the button driver).If
the second power event occurs after the Fixed_power event is reenabled, it will
be sent to the user space. In such case the system will enter the suspended
state again.

   So if the duplicated event can be eliminated, the system will work well. IMO
this is related with hardware issue. For the case a it will be better to
eliminate the duplicated event in user space. For the case b it can't be
eliminated. 



-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to