[ltp] T40: Suspend/Resume and Standby now working with Redhat9!
Stefan Farestam
linux-thinkpad@linux-thinkpad.org
Tue, 30 Sep 2003 15:46:42 -0700
All,
Having shared the frustrations with many people on this
board with getting suspend/resume working on T40, I
finally got it working. Many thanks to Brad Langhorst
for assisting me!
This is what I have:
T40 laptop running RedHat9
This is what works:
* <Fn><F3> which puts the machine in standby
* <Fn><F4> or <lid closure> for suspend
* I haven't tested hibernation yet
* glxgears runs at 700 FPS
* tuxracer!
Problems:
* If a USB device is left plugged in when the machine
goes into suspend, then USB seems to hang
The configuration:
* The RedHat severn distribution of XFree86:
http://ftp.redhat.com/pub/redhat/linux/beta/severn/en/os/i386/RedHat/RPMS/*-4.3.0-33*.rpm
* Kernel compiled with framebuffer support. Relevant kernel
args
CONFIG_FB=y
CONFIG_DUMMY_CONSOLE=y
# CONFIG_FB_RIVA is not set
# CONFIG_FB_CLGEN is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_CYBER2000 is not set
CONFIG_FB_VESA=y
* Kernel startup args (to be put in grub.conf or lilo.conf). This turns
on framebuffer support for the console:
vga=834
* XF86Config
Section "Module"
Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "speedo"
Load "type1"
Load "vbe"
EndSection
Section "Device"
Identifier "ATI Radeon Fire 9000"
Driver "radeon"
EndSection
Section "Screen"
Identifier "Screen0"
Device "ATI Radeon Fire 9000"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1400x1050" "1280x1024" "800x600" "640x480"
EndSubSection
EndSection
Note that the framebuffer is only used for the console. The key
things that I discovered was that:
* The Severn dist of XFree86 cured the <Fn><F3> problem and
made it possible to suspend/resume, albeit with the X
server crashing (but not hanging the machine!) on resume.
* Using the framebuffer device for the console made it possible
to suspend/resume without crashing the Xserver.
Have fun,
Stefan