Bugzilla – Bug 120737
ACPI power button does not work
Last modified: 2005-12-21 12:38:12 UTC
When I press the power button on my system it doesn´t shut down even if it´s configured to do so. It´s an Athlon 64 with Ali chipset and ACPI enabled. Which logs are relevant for that?
Stop, acpid, hald, dbus and powersaved services. Then do: modprobe button cat /proc/acpi/event Then press the power button -> there should a line appear telling you that the power button has been pressed. If not, it is a kernel bug. If there appears something it is a userspace bug.
I did what you suggested and there´s no output, so it must be a kernel bug.
Hmm, this could be difficult. Could you try with the boot parameter ec_burst=0. Ohh, this is 10.1 not sure whether ec_burst is on in mainline, best you also try ec_burst=1. Does it work now? Best is you always try as suggested in comment #1, so we know that no userspace program (which normally fetches the events from /proc/acpi/event) swallows them. If you do: cat /proc/acpi/event the program must hang until an event occurs, print it and still hang. If you cannot access the file, try fuser /proc/acpi/event to find out what program does access it. Please also attach dmesg output (with and without this parameter) and acpidmp output. Could you describe your hardware a bit. x86_64? laptop? ...
I checked with both ec_burst 0 and 1 but there´s no acpi event. The requested files are attached. I´ve an Athlon64 3200+ (with 32bit linux) with an AsRock Socket 939 Dual SATAII board
Created attachment 54445 [details] acpidmp with ec_burst=0
Created attachment 54446 [details] acpidmp with ec_burst=1
Created attachment 54447 [details] dmesg with ec_burst=0
Created attachment 54448 [details] dmesg with ec_burst=1
Sorry, for answering that late... there were a lot other bugs with higher priority... Does this still happen with recent 10.1 version? What does /var/log/messages say if the button module is loaed? Do you see something like: ACPI: Power Button (FF) [PWRF] ACPI: Power Button (CM) [PWRB] or just nothing?
I don´t have this board any more (changed it due to various other problems) but since its overall quality is really crappy I´m sure it´s a BIOS bug (there are much more BIOS bugs in this board...)
It's the first report I got for ACPI power/sleep buttons for long, so it is most likely a BIOS bug... Thanks for reporting, anyways! Especially recent 10.1 reports are very welcome.