[ltp] preferred sleep command for 2.6.22 kernels?

Dan Sawyer linux-thinkpad@linux-thinkpad.org
Fri, 14 Sep 2007 10:00:24 -0700


All,

The system is a T41 running f7 with a custom thinkpad kernel, 2.6.22.6. 
The commands below used to put the system to sleep.

# go to sleep
if [ -e /proc/acpi/sleep ]; then
    echo 3 > /proc/acpi/sleep
else
    echo -n mem > /sys/power/state
fi

What is the preferred, replacement, sleep sequence for 2.6.22.6?

Thanks - Dan