mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Micha Feigin <michf@post.tau.ac.il>
To: Kernel list <linux-kernel@vger.kernel.org>
Subject: Re: 2.6.0-test3+bk: ACPI does not switch off the computer
Date: Sat, 23 Aug 2003 00:41:34 +0300	[thread overview]
Message-ID: <1061581183.3498.5.camel@litshi.luna.local> (raw)
In-Reply-To: <20030822062945.GA1128@steel.home>

On Fri, 2003-08-22 at 09:29, Alex Riesen wrote:
> Actually it started happening from -test3.
> The last I see on screen is "Power down." and the system is halted.
> CAD reboots it.
> 

I have the same problem with some kernels (I get this with 2.4.21, don't
think with 2.6.0-test3-bk8 but not sure since its very unstable on my
machine and I don't have the time to play with it now).

The solution was to change the sleep level for ACPI when turnign of from
S5 to S4 (don't know why this works). In the file 
kernel-source-2.6.0-test3-bk8/drivers/acpi/sleep/poweroff.c
function
acpi_power_off
try replacing ACPI_STATE_S5 with ACPI_STATE_S4

> -alex
> 
> #
> # Power management options (ACPI, APM)
> #
> CONFIG_PM=y
> # CONFIG_SOFTWARE_SUSPEND is not set
> 
> #
> # ACPI (Advanced Configuration and Power Interface) Support
> #
> CONFIG_ACPI_HT=y
> CONFIG_ACPI=y
> CONFIG_ACPI_BOOT=y
> CONFIG_ACPI_SLEEP=y
> CONFIG_ACPI_SLEEP_PROC_FS=y
> CONFIG_ACPI_AC=m
> CONFIG_ACPI_BATTERY=m
> CONFIG_ACPI_BUTTON=m
> CONFIG_ACPI_FAN=m
> CONFIG_ACPI_PROCESSOR=m
> CONFIG_ACPI_THERMAL=m
> # CONFIG_ACPI_ASUS is not set
> # CONFIG_ACPI_TOSHIBA is not set
> # CONFIG_ACPI_DEBUG is not set
> CONFIG_ACPI_BUS=y
> CONFIG_ACPI_INTERPRETER=y
> CONFIG_ACPI_EC=y
> CONFIG_ACPI_POWER=y
> CONFIG_ACPI_PCI=y
> CONFIG_ACPI_SYSTEM=y
> 
> #
> # APM (Advanced Power Management) BIOS Support
> #
> # CONFIG_APM is not set
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
-- 
Micha Feigin
michf@math.tau.ac.il


  reply	other threads:[~2003-08-22 22:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-22  6:29 Alex Riesen
2003-08-22 21:41 ` Micha Feigin [this message]
2003-09-03  5:45   ` Pavel Machek

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=1061581183.3498.5.camel@litshi.luna.local \
    --to=michf@post.tau.ac.il \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®