Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750947AbXBLANA (ORCPT ); Sun, 11 Feb 2007 19:13:00 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750948AbXBLANA (ORCPT ); Sun, 11 Feb 2007 19:13:00 -0500 Received: from ogre.sisk.pl ([217.79.144.158]:39585 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750946AbXBLAM7 (ORCPT ); Sun, 11 Feb 2007 19:12:59 -0500 From: "Rafael J. Wysocki" To: nigel@nigel.suspend2.net Subject: Re: NAK new drivers without proper power management? Date: Mon, 12 Feb 2007 01:09:55 +0100 User-Agent: KMail/1.9.5 Cc: Willy Tarreau , Robert Hancock , linux-kernel References: <200702120050.24539.rjw@sisk.pl> <1171238117.4493.153.camel@nigel.suspend2.net> In-Reply-To: <1171238117.4493.153.camel@nigel.suspend2.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200702120109.56564.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1438 Lines: 36 On Monday, 12 February 2007 00:55, Nigel Cunningham wrote: > Hi. > > On Mon, 2007-02-12 at 00:50 +0100, Rafael J. Wysocki wrote: > > On Monday, 12 February 2007 00:47, Nigel Cunningham wrote: > > > Hi. > > > > > > On Mon, 2007-02-12 at 00:41 +0100, Rafael J. Wysocki wrote: > > > > > I'm using M$ hibernation and Suspend2 to dual boot on our desktop (dtv > > > > > card that Linux doesn't support well yet), and I know other Suspend2 > > > > > users doing the same. It's made earier by the fact that Suspend2 lets > > > > > you reboot instead of powering down. > > > > > > > > Well, I don't know why you're saying it's a special capability of suspend2. > > > > Even the "old" swsusp has been able to do this since I can remember. ;-) > > > > > > It does?! I just did cat /sys/power/disk and it only says platform. How > > > do you make swsusp reboot instead of powering down? > > > > echo reboot > /sys/power/disk && echo disk > /sys/power/state > > Ah. Perhaps you should make it show reboot when you cat it? albercik:~ # echo reboot > /sys/power/disk albercik:~ # cat /sys/power/disk reboot It shows the current value, and "platform" happens to be the default now. Greetings, Rafael - 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/