From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 6 Dec 2001 15:32:55 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 6 Dec 2001 15:32:40 -0500 Received: from alfik.ms.mff.cuni.cz ([195.113.19.71]:54533 "EHLO alfik.ms.mff.cuni.cz") by vger.kernel.org with ESMTP id ; Thu, 6 Dec 2001 15:31:55 -0500 Date: Wed, 5 Dec 2001 23:50:23 +0100 From: Pavel Machek To: torvalds@transmeta.com, kernel list , Swsusp mailing list Subject: Swsusp Message-ID: <20011205235023.A9687@elf.ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.23i X-Warning: Reading this can be dangerous to your mental health. Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi! Here is software suspend stuff -- it enables suspend on disk on any machine. With ACPI, this will be neccessary even on notebooks. Would it be possible to apply it to 2.5.1? I'm mainly concerned about infrastructure. Even applying only "find last set" bit would be good thing (tm) for me. suspend.c is likely to change slightly, other stuff should be stable. Please apply, Pavel Only in linux.test/: .config diff -ur -x .dep* -x .hdep* -x *.[oas] -x *~ -x #* -x *CVS* -x *.orig -x *.rej -x *.old -x .menu* -x asm -x local.h -x System.map -x autoconf.h -x compile.h -x version.h -x .version -x defkeymap.c -x uni_hash.tbl -x zImage -x vmlinux -x vmlinuz -x TAGS -x bootsect -x *RCS* -x conmakehash -x map -x build -x build -x configure -x *target* -x *.flags -x *.bak clean/CREDITS linux.test/CREDITS --- clean/CREDITS Sun Nov 4 18:31:57 2001 +++ linux.test/CREDITS Wed Dec 5 22:47:22 2001 @@ -1647,6 +1647,11 @@ S: D-91080 Uttenreuth S: Germany +N: Gabor Kuti +E: seasons@falcon.sch.bme.hu +E: seasons@makosteszta.sote.hu +D: Author and Maintainer for Software Suspend + N: Jaroslav Kysela E: perex@suse.cz W: http://www.perex.cz @@ -1819,7 +1824,8 @@ E: pavel@ucw.cz E: pavel@suse.cz D: Softcursor for vga, hypertech cdrom support, vcsa bugfix, nbd -D: sun4/330 port, capabilities for elf, speedup for rm on ext2, USB +D: sun4/330 port, capabilities for elf, speedup for rm on ext2, USB, +D: x86-64 port, software suspend S: Volkova 1131 S: 198 00 Praha 9 S: Czech Republic diff -ur -x .dep* -x .hdep* -x *.[oas] -x *~ -x #* -x *CVS* -x *.orig -x *.rej -x *.old -x .menu* -x asm -x local.h -x System.map -x autoconf.h -x compile.h -x version.h -x .version -x defkeymap.c -x uni_hash.tbl -x zImage -x vmlinux -x vmlinuz -x TAGS -x bootsect -x *RCS* -x conmakehash -x map -x build -x build -x configure -x *target* -x *.flags -x *.bak clean/Documentation/Configure.help linux.test/Documentation/Configure.help --- clean/Documentation/Configure.help Mon Nov 5 22:40:59 2001 +++ linux.test/Documentation/Configure.help Wed Dec 5 22:47:22 2001 @@ -14887,6 +14887,31 @@ a work-around for a number of buggy BIOSes. Switch this option on if your computer crashes instead of powering off properly. +Software Suspend +CONFIG_SOFTWARE_SUSPEND + Enable the possibilty of suspendig machine. It doesn't need APM. + You may suspend your machine by either pressing Sysrq-d or with + 'swsusp' or 'shutdown -z