Subject: Re: Waking on suspend opening laptop lid: ACPI?
To: Brian de Alwis <bsd@cs.ubc.ca>
From: Steven M. Bellovin <smb@research.att.com>
List: port-i386
Date: 04/29/2003 09:14:46
In message <20030429054921.GA724@slab.cs.ubc.ca>, Brian de Alwis writes:
>So I have a laptop, and it has a pretty neat feature where it will
>suspend on lid-close, and awaken on lid-open.  I'd like to set it
>up to waken on lid-open, but require an explicit suspend rather
>that have it happen automatically.
>
>Is there a way to do this?  I think I *could* do some hackery in
>/etc/apm/suspend (exiting with non-zero?), but it's a bit gross.
>
>Might the new ACPI stuff provide this kind of control?

On my laptop (a Thinkpad T21), it's a BIOS option.

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