Subject: Re: APM *and* ACPI or is it APM *or* ACPI?
To: Jared D.McNeill <jmcneill@invisible.ca>
From: Steven M. Bellovin <smb@research.att.com>
List: port-i386
Date: 02/07/2003 13:20:37
In message <FD3F10E0-3AC7-11D7-AD4C-000393D8DC6C@invisible.ca>, "Jared D.McNeil
l" writes:
>On Friday, February 7, 2003, at 02:11 PM, Steven M. Bellovin wrote:
>> I know there's talk of the "right" way to talk to the acpi drivers, but
>> even when something like that is finished, I think we'll still need
>> something that provides the same API as /dev/apm, just to preserve all
>> the tools that know how to use it.  (I'd love to try acpi on my laptop,
>> but if I can't even check the battery status it's a non-starter.)
>
>acpibat(4) exports battery status via envsys in -current -- you can get 
>your battery status that way for now..
>

That's good.  I'd still like an /dev/apm-like interface for everything
else (I rely on asapmrc from pkgsrc, to say nothing of /etc/apm/*.)
But envstat is certainly better than nothing. 

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