[ltp] T40, ACPI, and sleeping

Eric Van Buggenhaut linux-thinkpad@linux-thinkpad.org
Tue, 1 Feb 2005 00:03:57 +0100


On Sat, Jan 29, 2005 at 11:42:52AM -0800, Bill Wohler wrote:
> p.s. I installed the Debian kernel-image-2.6.10-1-686 package, loaded
> the ibm_acpi driver, and added the following two files to
> /etc/acpi/events/Fn-F4 and /etc/acpi/sleep respectively, and got my T40p
> to sleep and wake up without a hitch. However, if I "modprobe ath_pci"
> the system hangs and if I run "/etc/init.d/hotplug start", the kernel
> dumps core.
> 
> So, we're close to working out of the box. Let me know if there is
> something I can try short of patching and compiling my own kernel.
> 
> /etc/acpi/events/Fn-F4:
> 
>   event=ibm/hotkey HKEY 00000080 00001004
>   action=/etc/acpi/sleep
> 
> /etc/acpi/sleep:
> 
>   #! /bin/sh
>   /etc/init.d/hotplug stop
>   ifdown ath0
>   rmmod ath_pci ath_rate_onoe ath_hal e1000
>   sync
>   echo 3 > /proc/acpi/sleep
>   #/etc/init.d/hotplug start
>   #modprobe ath_pci
>   #ifup ath0
> 

I have tried your scripts on my T42 and it goes to sleep OK, but when 
I resume, I get a blank screen, no way to get the image back !

Has this happened to anyone before ? Any workaround ???

-- 
Eric VAN BUGGENHAUT
ericvb@debian.org