[Pm-utils] [RFC] Writing "${HIBERNATE_MODE}" unconditionally to /sys/power/disk

Victor Lowther victor.lowther at gmail.com
Tue Mar 18 16:18:00 PDT 2008


On Tue, 2008-03-18 at 15:36 +0100, Michael Biebl wrote:
> 2008/3/18, Victor Lowther <victor.lowther at gmail.com>:
> >  >
> >  > Or only, if HIBERNATE_MODE is firmware or platform? And is this the
> >  > correct way to determine if firmware or platform is supported.
> >
> >
> > How about just defaulting to "shutdown"?  True, we might disable the
> >  suspend LED, and wake-on-lid probably will not work, but shutdown should
> >  work everywhere with no problems.  If a user or distro wants "firmware"
> >  or "platform" they can modify the defaults accordingly.
> 
> I don't have enough information yet to make an educated decision.
> Can't we just accept the default that is set in /sys/power/disk and
> leave HIBERNATE_METHOD commented out by default (and we do nothing if
> -z) ?
> That means, the user would have to intentionally set HIBERNATE_METHOD
> via /etc/pm/config.d and if he does that, he likely knows what he is
> doing?

I like this idea better than mine.

ACK

> Michael
> 
-- 
Victor Lowther
Ubuntu Certified Professional



More information about the Pm-utils mailing list