Subject: Re: ACPI S4BIOS support
To: None <,>
From: Joerg Sonnenberger <>
List: current-users
Date: 11/11/2007 19:34:59
On Sun, Nov 11, 2007 at 07:59:04PM +0100, Bernd Ernesti wrote:
> On Sun, Nov 11, 2007 at 07:30:45PM +0100, Joerg Sonnenberger wrote:
> > Hi all,
> > is there someone out in NetBSD with hardware that supports S4BIOS?
> How do I find that out?

I guess the simplest approach is to set a breakpoint on
enter_s4_with_bios and run sysctl -w machdep.sleep_state=4.
The current code falls back to S3 and should not hit DDB if it is
missing the bits that tell it that S4BIOS support is present.

> > Does it actually work? Is there someone *using* it?
> And what should it do?

Basically the same thing as APM suspend-to-disk.