From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Fv6jJ-0006sn-RQ for garchives@archives.gentoo.org; Tue, 27 Jun 2006 06:07:22 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k5R62w6I001266; Tue, 27 Jun 2006 06:02:58 GMT Received: from hetzner.email-server.info (new.email-server.info [213.133.109.44]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k5R5ramX014390 for ; Tue, 27 Jun 2006 05:53:36 GMT Received: by hetzner.email-server.info (Postfix, from userid 1001) id 961B631354; Tue, 27 Jun 2006 07:54:58 +0200 (CEST) X-Spam-Tests: AWL=0.069,BAYES_00=-2.599 X-Spam-Contact: Contact Address X-Spam-Checker-Version: SpamAssassin 3.1.3-gr0 (2006-06-01) on hetzner.email-server.info X-Spam-Relays: Trusted=, Untrusted=[ ip=88.130.120.183 rdns=mue-88-130-120-183.dsl.tropolys.de helo=!192.168.1.244! by=hetzner.email-server.info ident= envfrom= intl=0 id=4425F312E6 auth= ] X-Spam-Level: X-Spam-Bayes: Score=0.0000, Tokens=Tokens: new, 23; hammy, 91; neutral, 50; spammy, 2., Hammy=0.000-+--sbin, 0.000-+--H*M:mid, 0.000-+--UD:sh, 0.000-+--acpi, 0.000-+--ACPI, Spammy=0.898-+--H*r:sk:hetzner, 0.849-+--action X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.3-gr0 X-Spam-Externals: DCC Brand "_DCCB_", Result _DCCR_ - Pyzor=_PYZOR_, RBL [213.133.109.44] [10 new.email-server.info.] Received: from [192.168.1.244] (mue-88-130-120-183.dsl.tropolys.de [88.130.120.183]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hetzner.email-server.info (Postfix) with ESMTP id 4425F312E6 for ; Tue, 27 Jun 2006 07:54:46 +0200 (CEST) Message-ID: <44A0C7D5.1030409@mid.email-server.info> Date: Tue, 27 Jun 2006 07:53:25 +0200 From: Alexander Skwar User-Agent: Thunderbird 1.5.0.4 (X11/20060610) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] suspend/resume References: <49bf44f10606261744web10bc0qbb7a1b37fcdbee41@mail.gmail.com> In-Reply-To: <49bf44f10606261744web10bc0qbb7a1b37fcdbee41@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 4d2bec6e-1d1f-4b05-a632-fb08549d66b8 X-Archives-Hash: ddca0a19092a716c071e35315f9abbc7 Grant wrote: > Is there a way to shut the power of my laptop down and then power it > back on and have it resume right where it was when it was powered > down? Sure. Install the hibernate package and configure /etc/acpi/default.sh properly: case "$action" in power) #/sbin/init 0 logger "$group, ACPI action $action thru default.sh invoked - calling /usr/sbin/hibernate" /usr/sbin/hibernate logger "/usr/sbin/hibernate finished" ;; You'll also need to compile the "button" module in the kernel. > I think this is called suspend/resume. I see there is a kernel > called suspend2-sources. Is there any way to do it with my > hardened-sources kernel? Dunno. But you don't *HAVE* to use suspend2 to do suspend-to-disk. The plain kernel does this as well. Alexander Skwar -- Brannigan: You'll be negotiating with the aliens' mysterious leaders, the Brain Balls. They've got a lot of brains, and they've got a lot of chutzpah. -- gentoo-user@gentoo.org mailing list