From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 23 Nov 2002 21:59:13 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 23 Nov 2002 21:59:12 -0500 Received: from CPE3236333432363339.cpe.net.cable.rogers.com ([24.114.185.204]:2820 "HELO coredump.sh0n.net") by vger.kernel.org with SMTP id ; Sat, 23 Nov 2002 21:59:10 -0500 From: Shawn Starr Organization: sh0n.net To: linux-kernel@vger.kernel.org Subject: [RFC][TRIVIAL][PATCH][2.5] - Supplimental fix to ACPI_SLEEP & SOFTWARE_SUSPEND compile issue Date: Sat, 23 Nov 2002 22:06:52 -0500 User-Agent: KMail/1.5 Cc: Andrew Grover , Pavel Machek MIME-Version: 1.0 Content-Type: Multipart/Alternative; boundary="Boundary-00=_MJE49WnBlLfjFip" Message-Id: <200211232206.58081.spstarr@sh0n.net> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org --Boundary-00=_MJE49WnBlLfjFip Content-Type: Text/Plain; charset="iso-8859-3" Content-Transfer-Encoding: 7bit Content-Description: clearsigned data Content-Disposition: inline -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This patch should fix remaining issues regarding compiling ACPI Sleep states with Software suspend. You need to enable ACPI_SLEEP in config to use software suspend. The problem is, kbuild doesn't seem to allow this (right?). if ACPI_SLEEP is enabled it will allow you to select SOFTWARE_SUSPEND but if you uncheck SOFTWARE_SUSPEND it doesn't disable ACPI_SLEEP which IMHO it should not be because sleeping the system doesn't always mean power off. Standby might be a sleep state too. Here's the patch, please comment :) Shawn. - From Pavel: > > Could you make it so that CONFIG_ACPI_SLEEP is not selectable without > > CONFIG_SOFTWARE_SUSPEND and move CONFIG_SOFTWARE_SUSPEND into "power > > managment" submenu? > > Pavel -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE94EJQePHb7Xli5GsRAiYgAJ0ZQYfqCSKn+IL6VPeym44mgUbF8gCfW30a u03BGOgvMjFwIJ5EoF4ByR8= =kv0+ -----END PGP SIGNATURE----- --Boundary-00=_MJE49WnBlLfjFip Content-Type: text/x-diff; charset="iso-8859-3"; name="2.5.49-acpi-swsusp-2.diff.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="2.5.49-acpi-swsusp-2.diff.patch" diff -Nrup linux-2.5.49-vanilla/arch/i386/Kconfig linux-2.5.49-wip/arch/i386/Kconfig --- linux-2.5.49-vanilla/arch/i386/Kconfig 2002-11-22 16:40:21.000000000 -0500 +++ linux-2.5.49-wip/arch/i386/Kconfig 2002-11-23 17:48:33.000000000 -0500 @@ -1516,35 +1516,6 @@ source "arch/i386/oprofile/Kconfig" menu "Kernel hacking" -config SOFTWARE_SUSPEND - bool "Software Suspend (EXPERIMENTAL)" - depends on EXPERIMENTAL && PM - ---help--- - Enable the possibilty of suspendig machine. It doesn't need APM. - You may suspend your machine by 'swsusp' or 'shutdown -z