View previous topic :: View next topic |
Author |
Message |
fennex Tux's lil' helper
Joined: 20 Jan 2004 Posts: 106 Location: Zurich, Europe
|
Posted: Sun Oct 22, 2006 8:24 pm Post subject: Radeontool & Sleep state = Error [solved] |
|
|
Hi,
having vanilla-sources-2.6.17.13 installed, I am facing the following problem: After boot the tool radeontool works correctly and turns off the backlight of my T42. But after putting the laptop to sleep and waking it up afterwards radeontool does not work as expected anymore. Pressing fn-f3 only results in weird lines popping up on the screen (gentoo-sources show this behaviour from boot on). The backlight is not turned off.
Here is my sleep script: Code: | # cat /etc/acpi/fnf4.sh
# preprocessing
rmmod ehci_hcd uhci_hcd
/usr/local/sbin/vbetool vbestate save > /tmp/vbestate
chvt 1
# sleep
echo mem > /sys/power/state
# wake up
/usr/local/sbin/vbetool vbestate restore < /tmp/vbestate
chvt 7
rm -f /tmp/vbestate
modprobe ehci_hcd
modprobe uhci_hcd |
And the fnf3 script: Code: | # cat /etc/acpi/fnf3.sh
#!/bin/bash
if [[ -e /tmp/.radeonlock ]]
then
/usr/sbin/radeontool light on
rm /tmp/.radeonlock
else
/usr/sbin/radeontool light off
touch /tmp/.radeonlock
fi |
Does anyone know why radeontool stops working after sleeping of my T42? Could there be an interference with vbetool?
Thanks.
Fennex
Last edited by fennex on Fri Oct 27, 2006 9:04 am; edited 1 time in total |
|
Back to top |
|
|
fennex Tux's lil' helper
Joined: 20 Jan 2004 Posts: 106 Location: Zurich, Europe
|
Posted: Fri Oct 27, 2006 9:03 am Post subject: |
|
|
Solved.
On T42 Thinkpads one always needs to include the kernel parameter: |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|