Re: power management in X
On Fri, Dec 28, 2001 at 07:55:55PM -0500, Jerome Acks Jr wrote:
| dman wrote:
| > On Thu, Dec 27, 2001 at 07:47:22PM -0500, Jerome Acks Jr wrote:
| > | dman wrote:
| > |
| > | > I want my display to blank (or "off" or "suspend" or "standby" or
| > | > whatever) if it is left idle for a long period of time. I have this
| > | > working in GNOME if I am logged in and leave the screen saver running,
| > | > but I want it to work even if the gdm login screen is displayed. I
| > | > looked at 'man XFree86-4' and found the following relevant options :
| > | >
| > | > # time is in minutes
| > | > Option "BlankTime" "35"
| > | > #Option "StandbyTime" "2"
| > | > #Option "SuspendTime" "3"
| > | > Option "OffTime" "60"
| > | >
| > | >
| > | > They are in the "ServerLayout" section of /etc/X11/XF86Config-4.
| > | >
| > | > However I don't see anything happen if I watch gdm for a while. (I
| > | > tried smaller numbers before so I wouldn't have to wait long) I also
| > | > have
| > | > Load "dpms"
| > | > in the "Module" section and
| > | > Option "DPMS"
| > | > in the "Monitor" section.
| > | >
| > | > Any ideas why the monitor doesn't go black?
| > |
| > | Check /var/log/XFree.0.log to see that DPMS is enabled.
| >
| > I see
| >
| > (II) LoadModule: "dpms"
| > (WW) Warning, couldn't open module dpms
| > (II) UnloadModule: "dpms"
| > (EE) Failed to load module "dpms" (module does not exist, 0)
|
|
| This is telling you Load "dpms" in "Module" section failed because the
| module is not available,
| i.e. the file /usr/X11R6/lib/modules/extensions/libdpms.a does exist.
| AFAIK this file isn't found in any debian packages.
Mmm, too bad.
| > (II) Loading extension DPMS
| >
| > (**) Option "dpms"
| > (**) FBDev(0): DPMS enabled
|
|
| I think this is saying DPMS is enabled for the framebuffer device
| (/dev/fb[01234567]). AFAIK gdm defaults to "vt7" (virtual console 7 or
| /dev/tty7).
gdm is using vt7 (/dev/vc/7 on my system)
| I don't know how gdm login screen interacts with the
| framebuffer device.
Well, gdm starts X and X is using the framebuffer driver.
| I To get DPMS to work on my PC, I just have Option
| "DPMS" in the Monitor Section of XF86Config-4. My XFree86.0.log
| indicates DPMS is enable by the graphics card diver. If you can live
| without FBDev, you may want to try commenting out *Option "UseFBDev"* in
| Section "Device".
I'm using the framebuffer as my video driver. I included it in my
kernel and enable it at boot time.
Thanks for the info.
-D
--
If you hold to [Jesus'] teaching, you are really [Jesus'] disciples.
Then you will know the truth, and the truth will set you free.
John 8:31-32
Reply to: