I have a Thinkpad t42p that I'm trying to get configured to run Slackware. I am currently working on getting the ibm-acpi driver to control lid and button events. I have worked out a script to get the laptop to suspend to RAM, but it seems to only completely recover if I am in X. When I put the machine to sleep in the console, I get a blank screen upon recovery. It seems like the backlight isn't turning on. Does anyone have any experience with this kind of problem.
I am running a framebuffer console as well as the most recent ATI driver.
My suspend script goes:
#change to console 1
#save video stats
cat /proc/bus/pci/00/02.0 > /tmp/video_state
#if launched through a lid event and lid is open, do nothing
echo "$1" | grep "button/lid" && grep -q open /proc/acpi/button/lid/LID/state && exit 0
#sync filesystem and clock
echo "mem" > /sys/power/state
#readjust the clock (it might be off after suspend)
cat /tmp/video_state > /proc/bus/pci/00/02.0
#change back to X
#clean up behind us
Thank you for any input