Re: [PATCH 3/3][update] PM / sleep: Introduce command line argument for sleep state enumeration

From: Pavel Machek
Date: Sat Aug 16 2014 - 04:10:21 EST


On Fri 2014-08-01 15:54:32, Rafael J. Wysocki wrote:
> On Wednesday, July 30, 2014 12:55:29 PM Pavel Machek wrote:
> >
> > > For this reason I'm considering changing the defaul behavior going forward (so
> > > that "mem" is always present and means "the deepest sleep state available other
> > > than hibernation"), but I don't want to do that in one go.
> >
> > Actually, I don't think that's good idea, at least on PC.
> >
> > The way to wake up from S3 is power button. The way to wake up from
> > "echo freeze > state" is going to be different, right?
>
> No, it isn't. That's the point among other things.

There's difference, actually.

>From S3, power button event is consumed.

>From freeze, after resume, "what you want to do? power off,
suspend, hibernate" dialog appears.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/