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

Re: Help Needed: TEST FC5 KERNELS!



Michal Jaegermann skrev:
On Sat, Mar 11, 2006 at 02:41:59AM +0100, Uno Engborg wrote:
Peter Jones skrev:
On Sat, 2006-03-11 at 00:42 +0100, Uno Engborg wrote:

pm-utils-0.13-1

/etc/sysconfig/pm:
SUSPEND_MODULES="button"

HIBERNATE_RESUME_POST_VIDEO="no"
With this  ^^^^^

   resume)
       if [ "x$PM_MODE" != "xhibernate" -a \
            "x$HIBERNATE_RESUME_POST_VIDEO" == "xyes" ]; then
      this   ^^^^^  will never test to "true" regardless of
      what $PM_MODE happens to be

           resume_video
           echo "In if">>/tmp/20video
           echo $PM_MODE>>/tmp/20video
           echo $HIBERNATE_RESUME_POST_VIDEO>>/tmp/20video
           echo "---------------">>/tmp/20video
       fi
       echo "After if">>/tmp/20video

In /tmp/20video I get the following:

resume
After if

Is this really what's supposed to happen?

With setting like above obviously yes.  If you want that to
happen is another and good question.

If you would like to see what values really are then echo $PM_MODE
and $HIBERNATE_RESUME_POST_VIDEO to /tmp/20video _outside_ this
conditional above.

   Michal

If I do that, it turns out that:
PM_MODE: sleep
HIBERNATE_RESUME_POST_VIDEO: no

Is that what's supposed to happen?
Shouldn't the 20video script do something to wake the screen?

Regards
Uno Engborg




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