[ltp] Suspend-to-RAM on Thinkpad R50e (partial success)
Pawel Topa
linux-thinkpad@linux-thinkpad.org
Mon, 11 Apr 2005 14:00:54 +0200
Hi!
I've recently develepod configuration for my Thinkpad R50e which allows
to suspend and resume the computer. Unfortunately only one cycle is
possible. Second resume stops at the same point as before i.e. all
subsystems back to work correctly except *graphic card*.
Distro: Fedora Core 3 with all updates.
Here is my sleep.sh:
--------------------------------
#!/bin/sh
/sbin/ifdown eth0
sync
/sbin/hwclock --systohc
/sbin/rmmod intelfb
echo -n mem > /sys/power/state
/sbin/modprobe intelfb
/sbin/hwclock --hctosys
/sbin/ifup eth0
exit 0
--------------------------------
(after loading intelfb module, graphic card wakes up, resume text
console and *restart Xs*)
.config:
http://luke.icsr.agh.edu.pl/~topa/.config
(nothing special, intelfb is necessary compiled as module_
xorg.conf (Xorg 6.8):
http://luke.icsr.agh.edu.pl/~topa/xorg.conf
(I've turned off dri)
grub.conf:
----------------------------------------------------------
default=1
timeout=5
splashimage=(hd0,2)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.12-rc2)
root (hd0,2)
kernel /boot/vmlinuz-2.6.12-rc2 ro root=LABEL=/
initrd /boot/initrd-2.6.12-rc2.img
title Fedora Core (2.6.11.6)
root (hd0,2)
kernel /boot/vmlinuz-2.6.11.6 ro root=LABEL=/
initrd /boot/initrd-2.6.11.6.img
title Fedora Core (2.6.11.4)
root (hd0,2)
kernel /boot/vmlinuz-2.6.11.4 ro root=LABEL=/
initrd /boot/initrd-2.6.11.4.img
----------------------------------------------------------
(I've tested three newest kernels, all with the same result - propably
intelfb driver didn't change in these versions.)
I'm not very experienced with Linux kernel so I look forward for any
suggestions what should I try (do) next?
Regards
Paweł Topa