2008/3/15, Victor Lowther <[EMAIL PROTECTED]>:
> On Sat, 2008-03-15 at 21:07 +0100, Michael Biebl wrote:
>  > 2008/3/15, Michael Biebl <[EMAIL PROTECTED]>:
>  >
>  > >  1.) pm/module.d/uswsusp:
>  > >  Now that it disables the 99video hook, it has to parse the quirks
>  > >  itself and pass it to s2ram in do_suspend and s2both in
>  > >  do_suspend_hybrid
>  >
>  > This also means, that help() in pm-action.in should also take this into 
> account.
>  > It should not only run the help() method of all hooks, but also that
>  > of the used sleep module, as the sleep module could have module
>  > specific command line options.
>
>
> Good idea.  Implemented and pushed upstream.  HOWTO.modules has the
>  necessary implementation documentation.
>
>  For obvious reasons, the module method cannot be named "help" -- we
>  source the sleep module, and there is that whole flat namespace thing.

More bugs:
Running pm-is-supported as not root:

# pm-is-supported --suspend && echo yes
mkdir: cannot create directory `/var/run/pm-utils/storage': Permission denied
yes
# pm-is-supported --help
mkdir: cannot create directory `/var/run/pm-utils/storage': Permission denied
pm-is-supported [--suspend | --hibernate | --suspend-hybrid ]

Michael



-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
_______________________________________________
Pm-utils mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pm-utils

Reply via email to