Subject: Re: thinkpad T30 apm lockups anyone?
To: Christoph Badura <bad@bsd.de>
From: Steven M. Bellovin <smb@research.att.com>
List: port-i386
Date: 01/30/2003 13:29:41
In message <20030130145626.A12476@cargo-cult.k.bsd.de>, Christoph Badura writes
:
>
>On Wed, Jan 29, 2003 at 11:47:24PM -0500, Steven M. Bellovin wrote:
>> In message <20030129210022.X330@cargo-cult.k.bsd.de>, Christoph Badura write
>s:
>> Is the machine trying to auto-suspend?  Check the BIOS settings on that.
>
>I guess the machine is trying to auto-suspend.  However, it also locks
>up when executing zzz or when using the Fn-F[34] key combinations.
>

I do know that IBM laptops have to have network interfaces ifconfig'ed 
down to suspend.  Here's my /etc/apm/suspend:

#!/bin/sh

logger -p local0.info -t apm "suspending"

sync; sync; sync
for i in $(ifconfig -l)
do
        if [ -f /etc/ifconfig.$i ]
        then
                ifconfig $i down
        fi
done
sync; sync; sync

sleep 3


		--Steve Bellovin, http://www.research.att.com/~smb (me)
		http://www.wilyhacker.com (2nd edition of "Firewalls" book)