You are not logged in.

#1 2009-05-09 00:42:13

Tristan
Member
Registered: 2009-01-13
Posts: 8

Turn off monitor when in Standby (S1)

I can put my desktop computer in standby state pefectly using

echo -n standby > /sys/power/state

or using the sleep button. The only problem is that the monitor stays on, it just goes blank and has a cursor at the top left corner. In the /etc/acpi/handler.sh file

...
button/sleep)
        case "$2" in
            SLPB)   echo -n standby >/sys/power/state
                    #/usr/bin/xset -display :0.0 dpms force off 
                    vbetool dpms off
                    logger "SleepButton pressed: $2";;
            *)      logger "ACPI action undefined: $2" ;;
        esac
        ;;
...

I added "/usr/bin/xset -display :0.0 dpms force off" and "vbetool dpms off" before and after standby but the monitor still stays on. These commands only turns off my monitor when my computer is not in standby. How can I fix this problem?

Last edited by Tristan (2009-05-09 00:45:20)

Offline

#2 2009-05-09 00:53:29

cerbie
Member
Registered: 2008-03-16
Posts: 124

Re: Turn off monitor when in Standby (S1)

Do you mean that when going into standby, the monitor turns back on? If so, I wonder if it's a bug w/ X in general, or your driver (or maybe a BIOS bug rearing its head)?


"If the data structure can't be explained on a beer coaster, it's too complex." - Felix von Leitner

Offline

#3 2009-05-09 02:00:39

Tristan
Member
Registered: 2009-01-13
Posts: 8

Re: Turn off monitor when in Standby (S1)

cerbie wrote:

Do you mean that when going into standby, the monitor turns back on? If so, I wonder if it's a bug w/ X in general, or your driver (or maybe a BIOS bug rearing its head)?

Yes, when I go into standby the monitor turns back on and shows a blank screen. When I wake up from standby, the cursor on the blank screen starts blinking and then X loads up.

Last edited by Tristan (2009-05-09 02:01:36)

Offline

#4 2009-05-21 01:04:32

Tristan
Member
Registered: 2009-01-13
Posts: 8

Re: Turn off monitor when in Standby (S1)

Any ideas?

I don't understand, I can turn off the monitor using these

xset dpms force standby
xset dpms force suspend
xset dpms force off

or by adding the StandbyTime, SuspendTime, and OffTime options to the ServerLayout section of Xorg but when I put the computer in standby the monitor comes back on and stays on.

Last edited by Tristan (2009-05-21 01:19:00)

Offline

Board footer

Powered by FluxBB