[ltp] My war with T40 and ACPI drain

Bob Alexander linux-thinkpad@linux-thinkpad.org
Wed, 26 Jan 2005 08:33:25 +0100


Peter Frühberger wrote:
> Hi Bob, try this link,
> http://www.stud.uni-karlsruhe.de/~unatk/media/radeonstuff.tar.bz2
> here I got it working with 2.6.11-rc2,
> just read the info file, change the Power File to add your model and 
> apply the patches in the given order.
> If you want you can also apply swsusp2-2.1.5.15 for 2.6.11-rc2
> 
> Good Luck
> Peter

Followed diligently.

Still 4800mW/hour :( :(

Bios is 3.13

This is how I sleep. Maybe wrong ?

#!/bin/sh
radeontool light off
if lsmod | grep '^usbhid' >/dev/null ; then
    /sbin/modprobe -r -s usbhid
fi
if lsmod | grep '^uhci_hcd' >/dev/null ; then
    /sbin/modprobe -r -s uhci_hcd
fi
if lsmod | grep '^ehci_hcd' >/dev/null ; then
    /sbin/modprobe -r -s ehci_hcd
fi
logger "Fn+F4 Suspending to RAM"
sync
hwclock --systohc
echo -n mem > /sys/power/state
hwclock --hctosys
if !(lsmod | grep '^ehci_hcd') >/dev/null ; then
    /sbin/modprobe -s ehci_hcd
fi
if !(lsmod | grep '^uhci_hcd') >/dev/null ; then
    /sbin/modprobe -s uhci_hcd
fi
if !(lsmod | grep '^usbhid')   >/dev/null ; then
    /sbin/modprobe -s usbhid
fi
logger "Resuming from Fn+F4 Suspending to RAM"
radeontool light on

TIA,BOB