Hugo Vanwoerkom wrote:
Ganeshram Iyer wrote:
Ganeshram Iyer wrote:
<snip>
Depending on your kernel version, you may not have any luck using
suspend. I never had luck, but I have not tried recently with the 2.6.12
and 2.6.13 kernels.
From swsusp.txt in /usr/src/linux/Documentation/power:
...
You need to append resume=/dev/your_swap_partition to kernel command
line. Then you suspend by
echo shutdown > /sys/power/disk; echo disk > /sys/power/state
...
So I just did that:
echo shutdown > /sys/power/disk; echo disk > /sys/power/state
It stops, i.e suspends the system. Very quick. Pop goes the speaker and
power goes off. Leaves the external modem connected.
Then what. I have no option but hitting the power on button and selected
the lilo image where I had added "resume/dev/hda13", my swap device.
That's where things went wrong: it just booted and of course found bad
disks etc. rebooted itself and I had to clean things up.
May be somebody else has used 2.6.12 with suspend successfully.
I added the suspend option with the already existeing boot parms. Maybe
that is wrong, who knows.
It will be a while before I try again... ;-)
H
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]