Click to See Complete Forum and Search --> : DPMS/Energy-Saver for monitor not working, any Suggestions


Heavyt
04-23-2003, 01:31 PM
I have been trying to get the Energy-Saver option to work on my Sony monitor but it will not go to sleep nor will it power down/off.

I have added dpms to my XF86Config-4 file and set up screen-saver display power management. But my screen only will go black (not from lack of power but the color black) at the set time period.

Is there something I have over look or is this old box (Power Computing PowerCurve with G3 upgrade) not able to handle Energy-Saver under Linux?

Is there anyone out there with a mac desktop (Oldworld G3 upgrade or similar) that has Energy-Saver running on their linux setup, if so can you please aim me in the direction I should go to correct my setting, thank-you.

T:confused:

Alex Cavnar, aka alc6379
04-23-2003, 02:11 PM
I think that's how it's supposed to work.

I know on all of my machines, actually, that it does just blank the screen, which causes the monitor to use less power.

Heavyt
04-23-2003, 02:23 PM
On my Sony monitor there is a power saving light that comes on when it goes into a power saving mode (when running Mac OS). So far in Linux Gentoo and Debian I have not been able to get the monitor to power down. A "black screen" is not saving power it is just displaying the color black!

Hawg
04-27-2003, 09:51 PM
edit:
/etc/X11/XF86Config

In the section titled
Section "ServerFlags"

add/edit these lines

Option "blank time" "10" # 10 minutes
Option "standby time" "20"
Option "suspend time" "30"
Option "off time" "60"

Also edit your
/etc/X11/XF86Config-4

mine reads
Section "Monitor"
Identifier "Monitor0"
VendorName "Sony"
ModelName "200ES"
Option "dpms"
HorizSync 30-68
VertRefresh 50-75



You first might want to try the xset command

xset dpms force off

This sould turn off you monitor. The green light should turn orange saying it is in standby mode

Heavyt
04-27-2003, 11:00 PM
I edit my XF86Config-4/XF86Config files but nothing happen. The xset command did nothing.

I also put the Options setting in both files because I think my box looks at /etc/X11/XF86Config-4 not ~/XF86Config.:(

Hawg
04-28-2003, 08:18 PM
trying restarting the X server so as to force rereading the file

sharth
04-28-2003, 08:30 PM
Originally posted by Hawg
edit:
/etc/X11/XF86Config

In the section titled
Section "ServerFlags"

add/edit these lines

Option "blank time" "10" # 10 minutes
Option "standby time" "20"
Option "suspend time" "30"
Option "off time" "60"

Also edit your
/etc/X11/XF86Config-4

mine reads
Section "Monitor"
Identifier "Monitor0"
VendorName "Sony"
ModelName "200ES"
Option "dpms"
HorizSync 30-68
VertRefresh 50-75



You first might want to try the xset command

xset dpms force off

This sould turn off you monitor. The green light should turn orange saying it is in standby mode That's silly. X only uses one config or the other. Put both those sections in the -4 version.

Heavyt
04-28-2003, 09:36 PM
I reboot linux, and the monitor still will not sleep nor can xset command put it to sleep.
I would like to know if you are using BootX like me, if not maybe BootX does not give me the sleep option. Here is part of my XF86Config-4 file maybe you will see something I over look, thanks.



# This loads the DBE extension module.

Load "dbe" # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection

# This loads the Type1 and FreeType font modules
Load "type1"
Load "freetype"

# This loads the GLX module
Load "glx"

EndSection

# ************************************************** ********************
# Server flags section.
# ************************************************** ********************

Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is
# received. This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging

# Option "NoTrapSignals"

# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.

# Option "DontZap"

# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
# sequences. This allows clients to receive these key events.

# Option "Dont Zoom"

# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.

# Option "DisableVidModeExtension"

# Uncomment this to enable the use of a non-local xvidtune client.

# Option "AllowNonLocalXvidtune"

# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings.

# Option "DisableModInDev"

# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).

#Option "AllowNonLocalModInDev"
Option "blank time" "10" # 10 minutes
Option "standby time" "20"
Option "suspend time" "30"
Option "off time" "60"



EndSection

# ************************************************** ********************
# Input devices
# ************************************************** ********************

************************************************** ********************
# Other input device sections
# this is optional and is required only if you
# are using extended input devices. This is for example only. Refer
# to the XF86Config man page for a description of the options.
# ************************************************** ********************

************************************************** ********************
# Monitor section
# ************************************************** ********************

# Any number of monitor sections may be present

Section "Monitor"

Identifier "sony-200sf"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

HorizSync 59-63

# HorizSync 30-64 # multisync
# HorizSync 31.5, 35.2 # multiple fixed sync frequencies
# HorizSync 15-25, 30-50 # multiple ranges of sync frequencies

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

VertRefresh 50-120

vendorname "Sony"
modelname "CPD 200SF"
ModeLine "1024x768/76Hz" 85 1024 1032 1152 1360 768 784 787 823
ModeLine "1152x864/70Hz" 92 1152 1208 1368 1474 864 865 875 895
ModeLine "1024x768/100Hz" 115.5 1024 1056 1248 1440 768 771 781 802 -HSync -VSync
ModeLine "800x600/72Hz" 50 800 856 976 1040 600 637 643 666 +HSync +VSync
Option "dpms"
EndSection


# ************************************************** ********************
# Graphics device section
# ************************************************** ********************

# Any number of graphics device sections may be present

# Standard VGA Device:

Section "Device"
Identifier "platinum"
VendorName "Unknown"
BoardName "Unknown"

# The chipset line is optional in most cases. It can be used to override
# the driver's chipset detection, and should not normally be specified.

# Chipset "platinum"

# The Driver line must be present. When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module. Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this section.

Driver "fbdev"
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for. When this line isn't present, a device
# section can only match up with the primary video device. For PCI
# devices a line like the following could be used. This line should not
# normally be included unless there is more than one video device
# intalled.

# BusID "PCI:0:10:0"

# VideoRam 256

# Clocks 25.2 28.3

EndSection

# Device configured by xf86config:

Section "Device"
Identifier "platinum"
Driver "fbdev"
Option "opms"
Option "UseFBDev" "true"
VideoRam 2048
# Insert Clocks lines here if appropriate
#vendorname "Generic"
#boardname "fbdev"
EndSection


# ************************************************** ********************
# Screen sections
# ************************************************** ********************

# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
Identifier "Screen 1"
Device "platinum"
Monitor "sony-200sf"
DefaultDepth 15


Subsection "Display"
Depth 1
Modes "800x600/72Hz" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 4
Modes "800x600/72Hz" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 8
Modes "800x600/72Hz" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 15
Modes "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection

# ************************************************** ********************
# ServerLayout sections.
# ************************************************** ********************

# Any number of ServerLayout sections may be present. Each describes
# the way multiple screens are organised. A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option. In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"

# The Identifier line must be present
Identifier "Simple Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens. The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen. In this example, screen 2 is located to the
# right of screen 1.

Screen "Screen 1"

# Each InputDevice line specifies an