[ltp] Re: t4* and acpi
Bob Alexander
linux-thinkpad@linux-thinkpad.org
Thu, 03 Feb 2005 16:15:11 +0100
Steffen Dreise wrote:
> Got suspend to ram error ;( Sleep to ram works fine, but when it cames
> back my X is freesed an looks very strange. When i do a sleep to ram in
> the console it comes back correctly,but then, whenn i will switch back
> to X, i see the freesed X again and cant go back to the console.
> Im using the 2.6.10-r6 kernel, heres the sleep2ram part:
>
> "00000080 00001004")
> # Fn-F4, Sleep
> echo "7 blink" >/proc/acpi/ibm/led
> echo "4 off" >/proc/acpi/ibm/led
>
> /usr/local/bin/radeontool light off
> /sbin/hotplug stop
> /usr/bin/logger "Fn+F4 Suspending to RAM"
> /bin/sync
> /sbin/hwclock --systohc
>
> echo -n mem > /sys/power/state
>
> /sbin/hwclock --hctosys
> /usr/bin/logger "Resuming from Fn+F4 Suspending to RAM"
> /sbin/hotplug start
>
> echo "4 on" >/proc/acpi/ibm/led
> echo "7 off" >/proc/acpi/ibm/led
> /usr/local/bin/radeontool light on
> ;;
>
> Any ideas?
>
> regards,
> red
>
Yes go all the way and compile the 2.6.11-rc2 as in my page.
Bob