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-next>] [day] [month] [year] [list]
Message-Id: <1242396160.5799.92.camel@johannes.local>
Date:	Fri, 15 May 2009 16:02:40 +0200
From:	Johannes Berg <johannes@...solutions.net>
To:	"Rafael J. Wysocki" <rjw@...k.pl>
Cc:	linux-kernel <linux-kernel@...r.kernel.org>,
	Pavel Machek <pavel@....cz>
Subject: hibernate vs. WoL

Hi,

According to pm.h one should enable wakup events in the suspend() and
poweroff() callbacks.

However, poweroff is not called for the 'shutdown' or 'restart'
hibernate methods. This seems problematic, since then with proper
drivers platforms that have no 'platform' suspend method then cannot WoL
or anything like that (well, for 'restart' that isn't very relevant).

The only way to hack around that seems to be to implement the
dev->driver->shutdown method, but I don't think that is intended? On the
other hand calling both ->shutdown and ->poweroff seems problematic.

Right now what I'm trying to do is preserve a wireless connection across
hibernate. This is possible by telling the AP that we're asleep, in
which case it will buffer frames for us (it may eventually kick us off
anyway, but that's ok, without telling it we're asleep I don't even
survive a 'reboot' method cycle).

Also, shouldn't it be possible to WoL while your machine is shut down?
How do you program that?

johannes

Download attachment "signature.asc" of type "application/pgp-signature" (802 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ