Subject: Re: ACPI S4BIOS support
To: None <,>
From: Joerg Sonnenberger <>
List: port-i386
Date: 11/12/2007 11:53:17
On Mon, Nov 12, 2007 at 07:00:33AM +0100, Bernd Ernesti wrote:
> On Sun, Nov 11, 2007 at 07:34:59PM +0000, Joerg Sonnenberger wrote:
> > 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.
> You know that using buzz words doesn't make it easier to test it.

You know that you don't have to know what it is to test it? And if you
are that curious, googling for S3 and S4BIOS would have given that
information faster than the time you hopefully took to write this mail.

> And what version of NetBSD does it take to use machdep.sleep_state?

Let's look at the CC list. Hm. It might be i386 specific. Let's look at
the subject. It might need ACPI. Given the history of arch/i386/acpi,
any NetBSD release will give you that. If you would actually consider to
be helpful, you would of course try it with a HEAD or jmcneill-pm kernel,
but to find out whether the BIOS claims S4BIOS support it is irrelevant.