From owner-freebsd-acpi@FreeBSD.ORG Sat Sep 10 21:09:10 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA00E16A41F for ; Sat, 10 Sep 2005 21:09:10 +0000 (GMT) (envelope-from nate@root.org) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 55E0A43D45 for ; Sat, 10 Sep 2005 21:09:08 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.0.250] (adsl-64-171-187-179.dsl.snfc21.pacbell.net [64.171.187.179]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id j8AL8so5019796 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 10 Sep 2005 14:08:55 -0700 Message-ID: <43234B61.9090409@root.org> Date: Sat, 10 Sep 2005 14:08:49 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Fabian Keil References: <01d401c5b5a6$55c09450$0201a8c0@pranav> <20050910043209.63EC85D07@ptavv.es.net> <20050910125648.0267f124@localhost> In-Reply-To: <20050910125648.0267f124@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org Subject: Re: Does FBSD support 'software suspend' ? X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Sep 2005 21:09:10 -0000 Fabian Keil wrote: > "Kevin Oberman" wrote: > > >>> Does FBSD support 'software suspend' like linux does ? >>>Also,from the archives i come to know that FBSD supports >>>'suspend to disk'.What is the exact difference between the two ? >>>or are they one and the same ? >> >>FreeBSD tries to support both. They are more technically referred to as S3 and >>S4 states but are more typically called "suspend to RAM" and "suspend to disk" >>respectively. The terms "suspend" and "hibernate" are also used. > > > AFAIK "software suspend" does not equal to "suspend to RAM". > > There are two different "suspend to disk" modes. One is "software suspend" > the other "BIOS suspend". The second needs help by the BIOS and a special > formated slice, the first doesn't. > > FreeBSD supports "BIOS supend" if the hardware supports it, > you can tell by checking hw.acpi.s4bios with sysctl. > Correct. FreeBSD supports S4BIOS but not S4OS (yet). Most newer systems don't support S4BIOS so suspend-to-disk isn't supported in most systems. We welcome anyone who wants to implement S4OS. > GNU/Linux supports software suspend for S4 as well, ATM FreeBSD doesn't. Linux supports S4OS a little but swsusp* is really an ACPI-independent feature where the OS writes everything to disk and then on a fresh bootup sees if it should read the frozen image. It doesn't require ACPI support at all. We welcome anyone who wants to implement this kind of hibernate support also since it overlaps a lot with the work to implement S4OS. -- Nate