From owner-freebsd-current@FreeBSD.ORG Mon Aug 11 14:00:56 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4EA3837B401 for ; Mon, 11 Aug 2003 14:00:56 -0700 (PDT) Received: from postal3.es.net (postal3.es.net [198.128.3.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 464E643F75 for ; Mon, 11 Aug 2003 14:00:55 -0700 (PDT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal3.es.net (Postal Node 3) with ESMTP (SSL) id MUA74016; Mon, 11 Aug 2003 14:00:53 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 77C3D5D07; Mon, 11 Aug 2003 14:00:52 -0700 (PDT) To: Scott Lambert In-reply-to: Your message of "Sat, 09 Aug 2003 23:17:57 EDT." <20030810031757.GB33972@laptop.lambertfam.org> Date: Mon, 11 Aug 2003 14:00:52 -0700 From: "Kevin Oberman" Message-Id: <20030811210052.77C3D5D07@ptavv.es.net> cc: current@freebsd.org Subject: Re: ACPI battery state and resume not working on Inspiron 5150 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Aug 2003 21:00:56 -0000 > Date: Sat, 9 Aug 2003 23:17:57 -0400 > From: Scott Lambert > Sender: owner-freebsd-current@freebsd.org > > On Sat, Aug 09, 2003 at 08:53:54PM -0400, David Gilbert wrote: > > >>>>> "Kevin" == Kevin Oberman writes: > > > > Kevin> Sorry, Joe. By the way, are you suspending with "acpiconf -s3"? > > Kevin> Have you tried creating a hibernation partition (slice) and > > Kevin> using -s4? That appears to work better than suspend on most > > Kevin> platforms that support it at all. > > Kevin> > > Kevin> -- R. Kevin Oberman, Network Engineer > > > > What does a hibernation partition look like? > > > > My dell has a 31 meg partition that I havn't touched and my FreeBSD > > partition. > > And can you determine what the hibernation partition should look like > from an acpidump? I have a toshiba that only lists : > > hw.acpi.supported_sleep_state: S1 S4 S5 > > And I wiped the disk so fast after I bought it, that I've never seen the > hibernation setup that originally came with it. I hope my response to David Gilbert answered this, as well. S4 is "hibernate" and S3 is suspend. S1 simply stops the CPU clock and is, as far as I can tell, useless. Since your system lacks S3, it does not look like suspend is an option. Most systems don't come with a hibernation partition as hibernation is a BIOS function and Windows now has the ability to hibernate to a file in any Windows partition. Try checking with the manufacturer's web site or tech support to see if they have a tool to do this or information on using fdisk to do it. Since your BIOS lists S4, it should do it. I believe that all that is required is a slice slightly bigger (one page bigger?) than the total memory size with a special type field (not FAT32, FAT16, NTFS, FreeBSD or any other normal ID). BIOS sees this in the partition table for the disk and initiates the memory dump when S4 is requested. If no suitable partition is found, it should ignore the request. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634