lkml.org 
[lkml]   [2003]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: ACPI power off requires swsusp (was: Re: Power off a SMP Box)
From
Date
On Sat, 11 Jan 2003 13:10:47 +0100, Tobias Ringstrom said:

> I just disovered that in 2.5.56 (at least), ACPI power-off needs
> CONFIG_ACPI_SLEEP which depends on CONFIG_SOFTWARE_SUSPEND. This means
> that without selecting software suspend, your machine cannot power off
> using ACPI. Why is it so?

Well.. I submitted the Kconfig patch that makes it so. However, I only did
that because there's code inside the ACPI_SLEEP that references a variable over
in SOFTWARE_SUSPEND.

A cleaner fix would probably be to move the variable someplace where it will
exist even when SOFTWARE_SUSPEND isn't defined.
--
Valdis Kletnieks
Computer Systems Senior Engineer
Virginia Tech

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.030 / U:0.824 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site