[Pm-utils] Re: Dealing with suspend/resume failures

Richard Hughes hughsient at gmail.com
Thu Nov 9 13:11:56 PST 2006


On Thu, 2006-11-09 at 14:48 -0500, David Zeuthen wrote:
> Hi,
> 
> Sorry for being slow in responding. 
> 
> Attached are the patches I put in the RHEL beta, been tested somewhat
> thoroughly and appears to work fine insorfar that the user gets a dialog
> if suspend fails.
> 
>  diffstat hal-0.5.8.1-powermgmt-output-4.patch 
>  fdi/policy/10osvendor/10-power-mgmt-policy.fdi |   10 ++++++++++
>  tools/Makefile.am                              |    6 ++++++
>  tools/hal-system-power-hibernate-clear-error   |    3 +++
>  tools/hal-system-power-suspend-clear-error     |    3 +++
>  tools/linux/hal-system-power-hibernate-linux   |   13 +++++++++++--
>  tools/linux/hal-system-power-suspend-linux     |   13 +++++++++++--
>  6 files changed, 44 insertions(+), 4 deletions(-)
> 
>  diffstat gnome-power-manager-2.16.0-resume-failed-ui-3.patch 
>  gpm-hal.c         |   45 +++++++++++++++++++++++++++++++++++++++++
>  gpm-hal.h         |    5 ++++
>  gpm-main.c        |   16 ++++++++++++--
>  gpm-manager.c     |   59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  gpm-manager.h     |    2 +
>  gpm-screensaver.c |   12 ++++++++++
>  6 files changed, 137 insertions(+), 2 deletions(-)
> 
> Richard: sorry, the patch is a bit rough but does the idea look fine to you?

Yes, it needs some cleanup but I can do this for you on HEAD. Are you
definitely committing that code into HAL CVS or are we going to argue
about things some more first? :-)

Cheers,

Richard.




More information about the Pm-utils mailing list