Re: [linux-pm] [PATCH 0/6] [-mm]: ACPI: duplicate ACPI procfs functions in sysfs

Nigel Cunningham
2007-01-25T02:52:28Z

Hi.

On Wed, 2007-01-24 at 21:03 -0500, Len Brown wrote:
> > > Patch 03-05:
> > > add ACPI sleep attributes in sysfs.
> > > /proc/acpi/sleep is already deprecated by /sys/power/state.
> >
> > Does that mean we drop standby (S1) capability on PCs?
>
> I think we need to make /sys/power/state handle S1.
>
> There are two cases
>
> 1. Platform supports S1, but does not support S3.
>
> This is more common. You see this a lot on server-class machines.
>
> We could make "mem" simply mean S1 here b/c it is effectively
> the closest thing to S3.
>
> 2. Platform supports both S1 and S3.
>
> This is pretty rare -- at least on the systems I've got.
> I'd like the generic interface be able to describe and handle this case.
>
> I'm open to suggestions on what to call S1 if it isn't called "mem".

'standby'? That's what occurs to me from previous M$ usage.

Regards,

Nigel