[Pm-utils] [PATCH 8/8] pm-utils 1.2.3 proposed patches
Victor Lowther
victor.lowther at gmail.com
Sat Nov 29 11:44:52 PST 2008
On Sat, 2008-11-29 at 10:51 -0800, Dan Nicholson wrote:
> On Sat, Nov 29, 2008 at 8:51 AM, Victor Lowther
> <victor.lowther at gmail.com> wrote:
> > Document NEED_CLOCK_SYNC
> >
> > ---
> > README.debugging | 6 ++++++
> > 1 files changed, 6 insertions(+), 0 deletions(-)
> >
> > diff --git a/README.debugging b/README.debugging
> > index 76be415..47c756a 100644
> > --- a/README.debugging
> > +++ b/README.debugging
> > @@ -21,6 +21,12 @@ End-user customization and debugging:
> > environment variable to have that module removed when the system
> > suspends and reloaded when the system wakes up.
> >
> > +* If your clock drifts across a sleep/wake cycle, you can use
> > + NEED_CLOCK_SYNC="true" to force pm-utils to synchronize clocks.
> > + This is a change in the default behaviour of pm-utils -- 1.2.2.1 and earlier
> > + always synchronized clocks, but doing so is slow and most hardware stays in
> > + sync without assistance.
> > +
> > * To find out what parameters can be passed to pm-suspend and friends, run them
> > with '--help' as the first parameter as root. This will print out the
> > options that it supports and which hooks or modules handle those options.
>
> Yay! Could we also consider adding a config variable to handle
> alsactl? On my laptop (and hopefully most), the state doesn't change
> across suspend/resume. I guess we probably need to talk to some ALSA
> guru, though.
The way I understand it, talking to ALSA gurus requires special
incantations.
Do these changes help with the speed of pm-suspend vs. without on your
system? Would be able to apply the profiling patches to see a before
and after on your machine?
> Victor, would you mind lumping together changes that are logically
> together? Like, the documentation of NEED_CLOCK_SYNC should go with
> the patch where it is used. Likewise with removing 55battery and
> removing the reference in Makefile.am. It's really easy: do `git
> rebase -i' and squash together commits that should logically be
> together.
heh, I learn more about git every day. Didn't know that was possible.
> --
> Dan
--
Victor Lowther
RHCE# 805008539634727
LPIC-2# LPI000140019
More information about the Pm-utils
mailing list