Subject: Re: laptop suspend with ACPI? Any equivalent to zzz?
To: Lennart Augustsson <lennart@augustsson.net>
From: Perry E.Metzger <perry@piermont.com>
List: port-i386
Date: 12/17/2003 17:44:00
Lennart Augustsson <lennart@augustsson.net> writes:
> No, using ACPI you can't suspend. :(
> Making it happen is a lot of work, since with ACPI the OS has to
> do most of the work (unlike APM where BIOS does most).

It isn't actually that bad. There are various different levels of ACPI
suspend, and the lightest sleeps are very much like APM sleeps -- we
could implement it very trivially, or, even better, we could just take
the code from FreeBSD that handles all this.

Perry

> 	-- Lennart
>
> Alicia da Conceicao wrote:
>> Sorry for bother everybody again, but is there any way to suspend a
>> laptop running NetBSD-current with only ACPI (no APM)?  I am looking
>> for an ACPI equivalent to "zzz" for APM, but can't find any.  And
>> powerd only detects ACPI events, not generate them, so it can't seem
>> to be able to trigger suspend mode.
>> Suspend mode is critical for any laptop, since it reduces battery
>> drain to near zero, and shut downs the hard drive so that it doesn't
>> get damaged during transport.
>> Also, while on this topic, is there also a way get a laptop running
>> NetBSD-current to report how much battery is left (as a percentage
>> and/or minutes left), the same way that "apm" did?
>> Thanks in advance.
>> Alicia.
>>
>
>

-- 
Perry E. Metzger		perry@piermont.com