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]
Date:	Mon, 12 Feb 2007 11:15:35 +1100
From:	Nigel Cunningham <nigel@...el.suspend2.net>
To:	"Rafael J. Wysocki" <rjw@...k.pl>
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?

Hi.

On Mon, 2007-02-12 at 01:09 +0100, Rafael J. Wysocki wrote:
> 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.

Oh, so the problem is that it shows the current value, not the
possibilities. I wrongly assumed it would work like /sys/power/disk.
That explains it :)

Regards,

Nigel

-
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