From: Bernard Blackham <bernard@blackham.com.au>
To: Akos Maroy <darkeye@tyrell.hu>
Cc: "Sebastian Krämer" <spambouncer@skraemer.de>,
softwaresuspend-help@lists.berlios.de,
acpi-devel@lists.sourceforge.net
Subject: Re: since 2.6.9 reboots instead of poweroff (solved)
Date: Mon, 22 Nov 2004 23:55:37 +0800 [thread overview]
Message-ID: <20041122155537.GA3007@blackham.com.au> (raw)
In-Reply-To: <41A06B7F.5030905@tyrell.hu>
[-- 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);
parent reply other threads:[~2004-11-22 15:55 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <41A06B7F.5030905@tyrell.hu>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041122155537.GA3007@blackham.com.au \
--to=bernard@blackham.com.au \
--cc=acpi-devel@lists.sourceforge.net \
--cc=darkeye@tyrell.hu \
--cc=softwaresuspend-help@lists.berlios.de \
--cc=spambouncer@skraemer.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox