Messages in this thread | | | Subject | Re: ACPI power off requires swsusp (was: Re: Power off a SMP Box) | From | Valdis.Kletnieks@vt ... | Date | Sat, 11 Jan 2003 23:05:24 -0500 |
| |
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] | |