Help Needed: TEST FC5 KERNELS!

Uno Engborg uno at webworks.se
Sat Mar 11 01:41:59 UTC 2006


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"
>>     
>
> You want the patch I posted to this list.
>   
I did apply the patch but still a black screen on resume.

To debug, I added some echo statements to the patched 20video so that it
looks like this:

#!/bin/bash

. /etc/pm/functions

case "$(get_video_type)" in
        ATI)
        . /etc/pm/functions-ati
    ;;
    nVidia)
        . /etc/pm/functions-nvidia
    ;;
    Intel)
        . /etc/pm/functions-intel
    ;;
esac
echo $1>/tmp/20video
case "$1" in
    suspend)
        suspend_video
        ;;
    resume)
        if [ "x$PM_MODE" != "xhibernate" -a \
             "x$HIBERNATE_RESUME_POST_VIDEO" == "xyes" ]; then
            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
        ;;
    *)
        ;;
esac

exit $?

In /tmp/20video I get the following:

resume
After if

Is this really what's supposed to happen?

Regards
Uno Engborg





More information about the fedora-test-list mailing list