From owner-freebsd-mobile@FreeBSD.ORG Wed Oct 19 18:38:53 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD47216A41F for ; Wed, 19 Oct 2005 18:38:52 +0000 (GMT) (envelope-from hartzell@kestrel.alerce.com) Received: from merlin.alerce.com (w094.z064001164.sjc-ca.dsl.cnc.net [64.1.164.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id C27D143D5A for ; Wed, 19 Oct 2005 18:38:51 +0000 (GMT) (envelope-from hartzell@kestrel.alerce.com) Received: from merlin.alerce.com (localhost [127.0.0.1]) by merlin.alerce.com (Postfix) with ESMTP id DE84A215A; Wed, 19 Oct 2005 11:11:24 -0700 (PDT) Received: from satchel.alerce.com (w092.z064001164.sjc-ca.dsl.cnc.net [64.1.164.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "satchel.alerce.com", Issuer "Alerce Certificate Authority" (not verified)) by merlin.alerce.com (Postfix) with ESMTP id 96880214D; Wed, 19 Oct 2005 11:11:24 -0700 (PDT) Received: from satchel.alerce.com (localhost [127.0.0.1]) by satchel.alerce.com (8.13.1/8.13.1) with ESMTP id j9JIDUPf002353 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 19 Oct 2005 11:13:31 -0700 (PDT) (envelope-from hartzell@satchel.alerce.com) Received: (from hartzell@localhost) by satchel.alerce.com (8.13.1/8.13.1/Submit) id j9JIDTM3002350; Wed, 19 Oct 2005 11:13:29 -0700 (PDT) (envelope-from hartzell) From: George Hartzell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17238.36041.172509.66492@satchel.alerce.com> Date: Wed, 19 Oct 2005 11:13:29 -0700 To: Fabian Keil In-Reply-To: <20051019091858.3ea880bd@localhost> References: <1129300711.742.6.camel@RabbitsDen> <434FA5CA.31658.856AD66D@localhost> <20051018073526.GC2987@lbl.pl> <20051018104551.0a7e7a45@localhost> <20051018192903.GB27080@holestein.holy.cow> <20051019091858.3ea880bd@localhost> X-Mailer: VM 7.17 under 21.4 (patch 15) "Security Through Obscurity" XEmacs Lucid X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-mobile@freebsd.org Subject: Re: Suspend drains battery on IBM T42 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: hartzell@alerce.com List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Oct 2005 18:38:53 -0000 Fabian Keil writes: > Parv wrote: > > > in message <20051018104551.0a7e7a45@localhost>, > > wrote Fabian Keil thusly... > > > > > > KubaTyszko wrote: > > > > > > > > Have you tried the suspend to disk? That's what Windows calls > > > > > hibernation. > > > > i am afraid that STD does not work under thinkpads and freebsd. > > > > > > AFAIK there are ThinkPads out there which support S4BIOS. > > > With those laptops and FreeBSD Suspend to Disk should work. > > > > I am using T42 (2373-5TU) and have suspend-to-disk currently > > disabled in BIOS (i think) & hw.acpi.s4bios is 0. Given that if i > > can turn on suspend-to-disk & hw.acpi.s4bios changes to non-zero, > > how do i go about testing it? > > You have to create a special partition where the "hibernation file" > can be stored. > > > > Afterwards you should be able to enter S4BIOS with acpiconf -s S4OS. When I first got my T42p, I went around-and-around-and-around trying to get S4BIOS to show up. I tried creating suspend-to-disk partitions and files with a couple of different utilities from the IBM site and from (i think) the bios maker's site (phoenix). I was never able to get anything to work, and finally just decided that the machine just didn't offer S4BIOS. The readme from IBM site that you reference above does say that T42's are supported, so I may be ready to take another look at this. I notice in the readme that hibernation won't work if you're using the OS2 boot manager, which I take to mean that one must be using the original IBM MBR code. I bet that the FreeBSD boot manager will fubar it too. I had this problem when I was getting suspend to disk to work on my Sony Vaio PCG-Z505-something-or-other, and ended up dual booting with the stock MBR jumping to the "active partition" (freebsd), which had a copy of grub installed and taking it from there. Here's a summary of what I figured out when I first got my T42p: http://lists.freebsd.org/pipermail/freebsd-mobile/2004-September/004851.html g.