NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Suspend to RAM



On Jan 29, 2010, at 12:14 PM, Sad Clouds wrote:

> On Fri, 29 Jan 2010 18:02:47 +0100
> Demelier David <demelier.david%gmail.com@localhost> wrote:
> 
>> On Fri, Jan 29, 2010 at 04:31:49PM +0000, Sad Clouds wrote:
>>> I can't seem to find any documentation on how to get suspend to RAM
>>> working on NetBSD-5_STABLE. Various pointers on the Internet
>>> indicate it is possible, maybe with sysctl variables?
>>> 
>>> Any idea?
>> 
>> If you're a i386 user and have APM in your kernel, you can try the zzz
>> (8) command.
>> If not try to do the following :
>> 
>> sysctl -w machdep.sleep_state=3
> 
> I'm a bit confused, because there is APM and ACPI. I think ACPI is a
> newer and better standard found on modern x86 machines. So are APM and
> ACPI mutually exclusive, or is ACPI a superset of APM?
> 
> There is also apmd and powerd. Where do they come into play? Do I run
> both of them or just one?
> 
I've always used apmd with APM and powerd with ACPI.  I don't know if there's 
any coexistence possible.  ACPI is indeed newer; many newer machines don't even 
have APM.  NetBSD has had problems with both -- especially buggy 
implementations of both -- over the years; for me, ACPI is usually usable these 
days.

                --Steve Bellovin, http://www.cs.columbia.edu/~smb







Home | Main Index | Thread Index | Old Index