Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934336AbYBVMXX (ORCPT ); Fri, 22 Feb 2008 07:23:23 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757504AbYBVMWq (ORCPT ); Fri, 22 Feb 2008 07:22:46 -0500 Received: from gprs189-60.eurotel.cz ([160.218.189.60]:4940 "EHLO spitz.ucw.cz" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755215AbYBVMWn (ORCPT ); Fri, 22 Feb 2008 07:22:43 -0500 Date: Mon, 18 Feb 2008 06:31:47 +0000 From: Pavel Machek To: Linus Torvalds Cc: Jeff Chua , suspend-devel List , Dave Airlie , Greg KH , lkml , "Rafael J. Wysocki" , linux-acpi@vger.kernel.org, Jesse Barnes Subject: Re: [Suspend-devel] 2.6.25-rc2 System no longer powers off after suspend-to-disk. Screen becomes green. Message-ID: <20080218063146.GB3940@ucw.cz> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 781 Lines: 20 Hi! > It's "snapshot-and-restore", and my opinion is that: > > - it should *never* call "suspend()"/"resume()" at all (that should be > reserved purely for suspend-to-RAM and has real power management > issues!) Hmm, entering S4 seems like good place to call suspend() for... unless you want separate freeze()/unfreeze(), suspend()/resume(), suspend_s4() and halt() callbacks. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/