Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 11 Jan 2003 22:56:50 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 11 Jan 2003 22:56:49 -0500 Received: from h80ad2641.async.vt.edu ([128.173.38.65]:22912 "EHLO turing-police.cc.vt.edu") by vger.kernel.org with ESMTP id ; Sat, 11 Jan 2003 22:56:48 -0500 Message-Id: <200301120405.h0C45OLE030336@turing-police.cc.vt.edu> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4+dev To: Tobias Ringstrom Cc: Kernel Mailing List Subject: Re: ACPI power off requires swsusp (was: Re: Power off a SMP Box) In-Reply-To: Your message of "Sat, 11 Jan 2003 13:10:47 +0100." From: Valdis.Kletnieks@vt.edu References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1017469036P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Sat, 11 Jan 2003 23:05:24 -0500 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1314 Lines: 40 --==_Exmh_1017469036P Content-Type: text/plain; charset=us-ascii 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 --==_Exmh_1017469036P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Exmh version 2.5 07/13/2001 iD8DBQE+IOmEcC3lWbTT17ARAmV9AJ9kT0X1DYunZOzNsDxqVI3Akc7JtgCgwHae RWNCs8F8T+POTkITtk9vdaI= =7GD3 -----END PGP SIGNATURE----- --==_Exmh_1017469036P-- - 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/