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:02 PM, Demelier David 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

This latter, as an experiment, is best done single-user.  The script in 
/etc/powerd/scripts/sleep_button is the full thing; it's invoked automatically 
if you're running powerd and have ACPI enabled and working.

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







Home | Main Index | Thread Index | Old Index