lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200702120109.56564.rjw@sisk.pl>
Date:	Mon, 12 Feb 2007 01:09:55 +0100
From:	"Rafael J. Wysocki" <rjw@...k.pl>
To:	nigel@...el.suspend2.net
Cc:	Willy Tarreau <w@....eu>, Robert Hancock <hancockr@...w.ca>,
	linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: NAK new drivers without proper power management?

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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ