Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Radeontool & Sleep state = Error [solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
fennex
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jan 2004
Posts: 106
Location: Zurich, Europe

PostPosted: Sun Oct 22, 2006 8:24 pm    Post subject: Radeontool & Sleep state = Error [solved] Reply with quote

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
View user's profile Send private message
fennex
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jan 2004
Posts: 106
Location: Zurich, Europe

PostPosted: Fri Oct 27, 2006 9:03 am    Post subject: Reply with quote

Solved.

On T42 Thinkpads one always needs to include the kernel parameter:
Code:
acpi_sleep=s3_bios
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
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