Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933178AbYBTV0d (ORCPT ); Wed, 20 Feb 2008 16:26:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756232AbYBTV0U (ORCPT ); Wed, 20 Feb 2008 16:26:20 -0500 Received: from ug-out-1314.google.com ([66.249.92.168]:49738 "EHLO ug-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753027AbYBTV0T (ORCPT ); Wed, 20 Feb 2008 16:26:19 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=b6dTyrMzOD2AJsOO1ci3HJNfHzfkYGmsdYcEjEca4p4nRf11ZciO50t2dF8GIjLERoM1EOOXjdlwvFpCv/nDBJogJgUqcFhkk9rqLgho3kLUiytcuQvAosefP6pRBvoD1kmgrG37tjyDSKE3xCgJtGfr6ocX8xa+mFWRaUislMM= Message-ID: <47BC9AF4.10807@gmail.com> Date: Thu, 21 Feb 2008 00:26:12 +0300 From: Alexey Starikovskiy User-Agent: Thunderbird 2.0.0.6 (X11/20071022) MIME-Version: 1.0 To: "Rafael J. Wysocki" CC: Linus Torvalds , suspend-devel@lists.sourceforge.net, Jeff Chua , Dave Airlie , Greg KH , lkml , 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. References: <200802202114.43007.rjw@sisk.pl> <200802202145.01882.rjw@sisk.pl> In-Reply-To: <200802202145.01882.rjw@sisk.pl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2107 Lines: 63 Rafael J. Wysocki wrote: > On Wednesday, 20 of February 2008, Linus Torvalds wrote: > >> On Wed, 20 Feb 2008, Rafael J. Wysocki wrote: >> >>> I think we should export the target sleep state somehow. >>> >> Yeah. By *not* using "->suspend()" for freezing or hibernate. >> >> Please, Rafael - just make the f*cking suspend-to-disk use other routines >> already. >> > > Okay, I think I'll just start sending patches for that, but rather not earlier > than in the 2.6.27 time frame. No one else works on that and I've been busy > with other things recently. Besides, I'm not even a full time kernel > developer ... > > Rafael, If I can help, please say so. Regards, Alex. >> 99% of all hardware needs to do exactly *nothing* on suspend-to-disk, and the >> ones that really do need things tend to need to not do a whole lot. >> >> For example, the "freeze" action for USB (which is one of the hardest >> things to suspend) should literally be something like just setting the >> controller STOP bit, and waiting for it to have stopped. The "unfreeze" >> should be to just clear the stop bit, while the "restart" should be just a >> controller reset to use the current memory image. >> >> NONE OF THIS HAS ABSOLUTELY ANYTHING TO DO WITH SUSPEND. >> >> It never did. I've told people so for years. Maybe actually seeing the >> problems will make people realize. >> > > I think so. > > >> So please, we shouldn't call "->suspend[_late]" or "->resume[_early]" at >> all. Not with PMSG_FREEZE, not with PMSG_*anything*. >> >> Can we please get this fixed some day? >> > > Yes, we can (hopefully). > > Thanks, > Rafael > - > To unsubscribe from this list: send the line "unsubscribe linux-acpi" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.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/