[ltp] sleep broken on x40 w/FC5

Macskasi Csaba linux-thinkpad@linux-thinkpad.org
Wed, 04 Oct 2006 23:41:53 +0200


On Wed, 04 Oct 2006 22:02:12 +0200, <spot@draves.org> wrote:

> i have an X40 with Fedora Core 5 installed.
> i followed the directions here:
> http://www.catb.org/~esr/faqs/Fedora-Core-on-Thinkpad-X40/
> which says "Add "acpi_sleep=3Ds3_bios" to the kernel options in  =

> /etc/grub.conf to make suspend/resume using Fn-F4 work."
> but it doesn't.  sometimes it wakes up to blackness with
> disk spinning, sometimes it draws parts of windows on the
> screen.
My R50e sometimes does this too! When unplugged, in ~75% of the cases  =

suspend/resume works with this script:

---- BEGIN --------
#!/bin/bash
/bin/sync
/sbin/rmmod uhci-hcd
/sbin/rmmod ehci-hcd
/usr/bin/chvt 1
# unload fucking modem driver...
hsfstop
vbetool vbestate save > /var/cache/video.state
cat /proc/bus/pci/00/02.0 > /var/cache/video.config
hdparm -y /dev/hda
echo -n mem > /sys/power/state
cat /var/cache/video.config > /proc/bus/pci/00/02.0
cat /var/cache/video.state | vbetool vbestate restore
vbetool post
rm -rf /var/cache/video.config
rm -rf /var/cache/video.state
/usr/bin/chvt 7
/sbin/modprobe uhci-hcd
/sbin/modprobe ehci-hcd
exit 0
------- END -----------

However, the other 25% are nasty cases because X freezes totally and onl=
y  =

the powerbutton helps. Acpi events still work in this case! So my  =

conclusion is that it is "only" an X problem. However, I im not capable =
of  =

solving souch issues...

Regards,
Csaba




-- =

Macskasi Csaba
bitumen@tuxworld.homelinux.org
http://tuxworld.homelinux.org:81/