http://bugzilla.kernel.org/show_bug.cgi?id=10509
------- Comment #7 from [EMAIL PROTECTED] 2008-04-24 07:13 ------- Thanks for indicating how to use the acpi debug stuff. My crazy-sounding theory in comment 5 (which I swear worked about 10 times in a row yesterday) just won't work anymore today. So, probably it was too crazy to be true. With debug_layer=0x80004 and debug_level=0x1f I tried as you described, suspending the machine (with echo mem > /sys/power/state) many times and and looking at /proc/acpi/event and dmesg output. But, nothing ever got output into /proc/acpi/event (I suppose you were hoping for PWRF events ?). I will attach the /var/log/kern.log output for 5 suspend cycles as the kern_log file. Without suspending the machine, I then looked at the proc/acpi/event when pressing the power button. I noticed that sometimes I got 2 or 3 events when pressing the button only once... The frequency of that was not even close to 40% though, but then again I had trouble reproducing the bug today, so... Finally with acpid loaded and with debug_layer=0x80004, debug_level=0x0800001f I suspended a bunch of times and logged the kern.log output for each. I'll attach the output as kern_log_acpid1 (machine suspended normally), kern_log_acpid2 (machine suspended twice in a row) and kern_log_acpid3 (machine suspended 3 times in a row). >From these logs I can guess what happens. Apparently it sometimes happend that when I press the power button, several interrupts get generated. Possibly this may be that my button bounces, I don't know (it can not feel this by touch). Anyway, a corresponding number of events show up at once in /proc/acpi/event and acpid suspends the corresponding number of times. Such bounces don't seem to happen when resuming from suspend state though or if they do, at least they don't generate anything in my logs. Should acpid remove duplicate power button events somehow ? even if it can't tell the difference between a bounce and someone actually pressing the button twice, it does not make much sense to suspend the machine multiple times due to (a) button press(es) that happened before the first suspend... -- 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 the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ acpi-bugzilla mailing list acpi-bugzilla@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla