* Re: since 2.6.9 reboots instead of poweroff (solved)
[not found] ` <41A06B7F.5030905@tyrell.hu>
@ 2004-11-22 15:55 ` Bernard Blackham
0 siblings, 0 replies; only message in thread
From: Bernard Blackham @ 2004-11-22 15:55 UTC (permalink / raw)
To: Akos Maroy; +Cc: Sebastian Krämer, softwaresuspend-help, acpi-devel
[-- Attachment #1: Type: text/plain, Size: 545 bytes --]
On Sun, Nov 21, 2004 at 11:18:39AM +0100, Akos Maroy wrote:
> 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.
--
Bernard Blackham <bernard at blackham dot com dot au>
[-- Attachment #2: acpi-reboot.diff --]
[-- Type: text/plain, Size: 510 bytes --]
--- linux-2.6.9/drivers/acpi/hardware/hwsleep.c.orig 2004-11-22 23:37:21.000000000 +0800
+++ linux-2.6.9/drivers/acpi/hardware/hwsleep.c 2004-11-22 23:37:28.000000000 +0800
@@ -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);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-11-22 15:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <419FA101.5050304@tyrell.hu>
[not found] ` <200411202118.29532.spambouncer@skraemer.de>
[not found] ` <20041121015117.GM2694@blackham.com.au>
[not found] ` <41A06B7F.5030905@tyrell.hu>
2004-11-22 15:55 ` since 2.6.9 reboots instead of poweroff (solved) Bernard Blackham
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox