lkml.org 
[lkml]   [2007]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: NAK new drivers without proper power management?
Date
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/

\
 
 \ /
  Last update: 2007-02-12 01:15    [W:0.039 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site