[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Help Needed: TEST FC5 KERNELS!



Patched 20video. 4 hibernation cycles in a row, so far so good ...

Thanks.

-- alain.


On 3/10/06, Peter Jones <pjones redhat com> wrote:
> On Fri, 2006-03-10 at 14:12 -0800, Alain Mellan wrote:
> > As for me, I'm running pm-utils-0.13.1
> >
> > /etc/sysconfig/pm says
> > SUSPEND_MODULES="button"
> > HIBERNATE_RESUME_POST_VIDEO="no"
> >
> > in /etc/pm/functions-intel, I have now:
> >
> > resume_video()
> > {
> > (
> >     /usr/sbin/vbetool post
> >     /usr/sbin/vbetool vbestate restore < /var/run/vbestate
> >     /usr/sbin/vbetool dpms on
> > ) > /dev/null 2&1
> > }
> >
> > I guess I'll try again without the vbetool post and see how it works?
>
> Neeeever mind, Try this patch:
>
> Index: 20video
> ===================================================================
> RCS file: /cvs/devel/pm-utils/pm/hooks/20video,v
> retrieving revision 1.2
> retrieving revision 1.3
> diff -u -p -r1.2 -r1.3
> --- /etc/pm/hooks/20video       28 Feb 2006 17:04:20 -0000      1.2
> +++ /etc/pm/hooks/20video       10 Mar 2006 22:34:06 -0000      1.3
> @@ -19,7 +19,7 @@ case "$1" in
>                 suspend_video
>                 ;;
>         resume)
> -               if [ "x$PM_MODE" != "hibernate" -o \
> +               if [ "x$PM_MODE" != "xhibernate" -a \
>                      "x$HIBERNATE_RESUME_POST_VIDEO" == "xyes" ]; then
>                         resume_video
>                 fi
>
> (this will be pm-utils-0.14-1)
>
> --
>   Peter, amazed at the number of people who read this code
>          and didn't catch that.
>
> --
> fedora-test-list mailing list
> fedora-test-list redhat com
> To unsubscribe:
> https://www.redhat.com/mailman/listinfo/fedora-test-list
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]