[ltp] Re: t4* and acpi

James Blast linux-thinkpad@linux-thinkpad.org
Thu, 03 Feb 2005 16:31:55 +0100


Bob Alexander wrote:

> 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

Hi,

which driver for your X are you using?
Wit Bobs setup (GREAT WORK *thumbs.up*) and the xorg ati driver suspend 
to ram works fine and power drain is down to a minimum. Also waking up 
works like a charm.
Using the ATI fglrx driver (after going through at least 3 nervous 
breakdowns to patch and compile it) I am not able to wake the laptop 
back up. I get my original picture but the upper 20 - 30 pixels are 
completely crippeld up. No chance to do anything afterward other than 
killing it with the power button.

Ciao
James