From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernard Blackham Subject: Re: S4 sleep woes Date: Sun, 1 Aug 2004 02:46:36 +0800 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <20040731184636.GG3443@blackham.com.au> References: <20040730050615.GA24597@blackham.com.au> <20040731150112.GA480@hell.org.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20040731150112.GA480-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org> Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org On Sat, Jul 31, 2004 at 05:01:12PM +0200, Karol Kozimor wrote: > Thus wrote Bernard Blackham: > > From what I gather, with pmdisk or swsusp, pm_disk_mode should never > > be PM_DISK_FIRMWARE, as that essentially asks the BIOS to do S4 for > > us. > > Didn't the /sys/power/* interface allow to choose between platform or > firmware at some point? Ah, there appears to be one, yes (disk_show and disk_store in kernel/power/disk.c). Looking again, pmdisk appears to handle it correctly (just a little jump of logic). Guess that means it's a bug in software suspend 2. :) Ta, Bernard. -- Bernard Blackham ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com