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

Re: power management in X



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.



(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). I don't know how gdm login screen interacts with the framebuffer device. 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".




(ok, slap me, I should have though to look at the log first)

It seems that the 'dpms' module doesn't exist, but later on it seems
to say it loads it.  Maybe I have the wrong name in the Modules
section.

| You did stop and restart gdm after changing /etc/X11/XF86Config-4?

Yes.

-D





--
Jerome



Reply to: