1 |
On Tue, 2009-10-20 at 20:14 -0400, waltdnes@××××××××.org wrote: |
2 |
> I've enabled suspend-to-disk in the kernel. When I issue the |
3 |
> command |
4 |
> "echo disk > /sys/power/state", it suspends but *IMMEDIATELY* reboots |
5 |
> and comes back up again. The session restores properly from the swap |
6 |
> drive, so at least that part works. What can I do to keep it sleeping |
7 |
> until I power up again? |
8 |
|
9 |
Ok I'm going to address this issue. You specified multiple issues in |
10 |
your email. I think it's better to split each issue into its own |
11 |
posting. It's simpler easier to work with one problem at a time and |
12 |
also replies to postings on different issues don't get all garbled |
13 |
up/confusing in archive searches. |
14 |
|
15 |
Ok the echo trick isn't the recommended way to suspend to disk. A |
16 |
better way is to use "pm-hibernate --quirks" (pm-hibernate is from the |
17 |
pm-utils packages). The --quirks option will try to handle any, well, |
18 |
quirks that are known with your hardware. echo'ing to /sys/power/state |
19 |
is a little more low-level and could be iffy on some types of hardware. |
20 |
|
21 |
You should also check dmesg. More than likely there is a kernel error |
22 |
that explains why it failed to suspend completely. |