On 22/06/12 17:42, Jonathan Nieder wrote:
Eugen Dedu wrote:

# echo reboot>  /sys/power/disk
# echo disk>  /sys/power/state
[screen got black for ~2 secs, it shows "Cannot find swap device,
try swapon -a.\nCannot get swap writer" - which is normal since I do
not have one - and afterwards comes back]
bash: echo: write error: No such device

Yeah, suspend-to-disk requires swap.

[...]
This works too:
# echo none>/sys/power/pm_test ; for i in `seq 10`; do echo mem>  
/sys/power/state; sleep 2; s2ram; sleep 2; done

Hm.  What tool do you normally use to suspend to RAM?

Just closing the monitor lid on the laptop.

--
Eugen



--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4fe4933c.9050...@pu-pm.univ-fcomte.fr

Reply via email to