since 2.6.9 reboots instead of poweroff (solved)
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 3 lines · Akos Maroy
Bernard Blackham wrote:
I commented the above out, and rebooted with that kernel, but the effect is the same - it reboots instead of powering off :(
Gah. What I said didn't actually make any sense - that code never even gets called on shutdown.
Here is a workaround that works for me. It's not the correct the solution, but probably suffices unless you want wakeup events which are not the power button :)
Bernard.
Signature · 1 line
Bernard Blackham <bernard at blackham dot com dot au>
drivers/acpi/hardware/hwsleep.c renamed from drivers/acpi/hardware/hwsleep.c.orig +0 -5
@@ -299,11 +299,6 @@ } acpi_gbl_system_awake_and_running = FALSE; - status =acpi_hw_enable_all_wakeup_gpes (ACPI_ISR ); -if (ACPI_FAILURE (status)) { -return_ACPI_STATUS (status); - } -/* Get current value of PM1A control */ status =acpi_hw_register_read (ACPI_MTX_DO_NOT_LOCK ,ACPI_REGISTER_PM1_CONTROL , &PM1Acontrol);