Suspend from the command line (6.06)
bob davis
bob at bobsbits.net
Thu Mar 8 02:07:28 UTC 2007
Cameron Hutchison wrote:
> Hello fellow Ubuntu users,
>
> How can I suspend my Ubuntu box (6.06) from the command line?
>
> I know about the various /proc and /sys entries, but they go straight to
> the kernel. I want to trigger the same method that is used by the logout
> dialog, where you have a choice to suspend or hibernate. When I tried
> /sys/power/state, the box would not resume - I'm guessing because it did
> not do any preparation for suspension.
>
> Essentially, I want to be able to script suspension of the box.
>
> Thanks
>
sudo /etc/acpi/sleep.sh sleep
also
ACPI_SLEEP_MODE=mem
in /etc/default/acpi-support can be set to mem or standby.
Currently with 6.10 I cant get my laptop to sleep.
It shutsdown and then restarts after about 10 seconds.
Anybody got a fix? Or a way to debug it?
thanks
bob
More information about the ubuntu-users
mailing list