Re: ACPI power off requires swsusp (was: Re: Power off a SMP Box)

From: Valdis.Kletnieks@vt.edu
Date: Sat Jan 11 2003 - 23:05:24 EST


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


- 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/



This archive was generated by hypermail 2b29 : Wed Jan 15 2003 - 22:00:39 EST