Re: [PM] Passing suspend level down to drivers

Stephen Rothwell
2003-09-10T06:13:23Z

On Wed, 10 Sep 2003 01:07:55 +0200 Pavel Machek <pavel@suse.cz> wrote:
>
> I'd not worry about runtime states for now. [If user wants to sleep
> one device, we probably can allow that, but I do not think it is
> reasonable to do much more for 2.6.X]. That leaves us with:
>
> APM suspend-to-ram
> APM suspend-to-disk

We do not know which of these is going to happen, it is entirely up to
the BIOS writers and the BIOS configuration ... i.e. on my laptop, I
have two suspend buttons - one for suspend to ram, one for suspend to disk,
but under APM the kernel merely gets a SUSPEND event no matter which
button I press.

However, there is APM standby

On another note, APM does allow for individual device power management
(i.e. you can tell the BIOS "suspend the first disk" or "power off
all displays"). I have been wondering if we want to disable the BIOS's
device power management now that we are begining to do it ourselves.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au