LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-02-2005, 05:13 PM   #1
jkassemi
Member
 
Registered: May 2004
Location: Albuquerque, NM
Distribution: slackware-current, slamd64-11
Posts: 106

Rep: Reputation: 15
dpms not enabling...


Hello everybody, I'm trying to get dpms to work with xset, so I can get my monitor to shut off when I close the lid. I know how to handle the acpi events, but I can't get xset to work... I'm using a sis 661FX card, with the sis driver... Here's my Xorg log from where dpms is enabled to the end...

Code:
(==) SIS(0): Backing store disabled
(==) SIS(0): Silken mouse enabled
(**) Option "dpms" "true"
(**) SIS(0): DPMS enabled
(II) SIS(0): Using SiS300/315/330/340 series HW Xv
(II) SIS(0): Default Xv adaptor is Video Overlay

(==) RandR enabled
(II) Setting vga for screen 0.
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE
(**) Option "CoreKeyboard"
(**) Keyboard1: Core Keyboard
(**) Option "Protocol" "standard"
(**) Keyboard1: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) Keyboard1: XkbRules: "xorg"
(**) Option "XkbModel" "microsoft"
(**) Keyboard1: XkbModel: "microsoft"
(**) Option "XkbLayout" "us"
(**) Keyboard1: XkbLayout: "us"
(**) Option "CustomKeycodes" "off"
(**) Keyboard1: CustomKeycodes disabled
(II) Synaptics touchpad driver version 0.14.4 (1404)
(--) Mouse1 auto-dev sets device to /dev/input/event4
(**) Option "Device" "/dev/input/event4"
(**) Option "SHMConfig" "on"
(**) Option "LeftEdge" "1700"
(**) Option "RightEdge" "5500"
(**) Option "TopEdge" "1700"
(**) Option "BottomEdge" "4200"
(**) Option "FingerLow" "25"
(**) Option "FingerHigh" "30"
(**) Option "MaxTapTime" "350"
(**) Option "MaxTapMove" "220"
(**) Option "VertScrollDelta" "100"
(--) Mouse1 touchpad found
(**) Option "Protocol" "IMPS/2"
(**) Mouse2: Device: "/dev/input/mouse0"
(**) Mouse2: Protocol: "IMPS/2"
(**) Option "Device" "/dev/input/mouse0"
(**) Option "Buttons" "5"
(==) Mouse2: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5"
(**) Mouse2: ZAxisMapping: buttons 4 and 5
(**) Mouse2: Buttons: 5
(**) Mouse2: Device: "/dev/input/mouse0"
(**) Mouse2: Protocol: "IMPS/2"
(**) Option "CorePointer"
(**) Mouse2: Core Pointer
(**) Option "Device" "/dev/input/mouse0"
(**) Option "Buttons" "5"
(==) Mouse2: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5"
(**) Mouse2: ZAxisMapping: buttons 4 and 5
(**) Mouse2: Buttons: 5
(II) XINPUT: Adding extended input device "Mouse2" (type: MOUSE)
(II) XINPUT: Adding extended input device "Mouse2" (type: MOUSE)
(II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE)
(II) XINPUT: Adding extended input device "Keyboard1" (type: KEYBOARD)
Synaptics DeviceInit called
SynapticsCtrl called.
(II) Mouse2: ps2EnableDataReporting: succeeded
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from list!
Synaptics DeviceOn called
(--) Mouse1 auto-dev sets device to /dev/input/event4
(**) Option "Device" "/dev/input/event4"
(--) Mouse1 touchpad found
(II) Mouse2: ps2EnableDataReporting: succeeded
And here's my xorg.conf file:

Code:
Section "Module"
    Load        "dbe"  	# Double buffer extension
    Load        "type1"
    Load        "freetype"
    Load       "glx"

EndSection
Section "Files"

    RgbPath	"/usr/X11R6/lib/X11/rgb"
    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/TTF/"
    FontPath   "/usr/X11R6/lib/X11/fonts/encodings/"
    FontPath   "/usr/X11R6/lib/X11/fonts/util/"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath   "/usr/X11R6/lib/X11/fonts/CID/"
    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/cyrillic/"
    FontPath   "/usr/share/fonts/monotype/TrueType/"
    FontPath   "/usr/share/fonts/artwiz/:unscaled"
EndSection

Section "ServerFlags"
    Option      "blank time"    "10"    # 10 minutes
EndSection

Section "InputDevice"
    Identifier	"Keyboard1"
    Driver	"kbd"
    Option     "XkbModel"      "microsoft"
EndSection

Section "InputDevice"

    Identifier	"Mouse1"
    Driver	"synaptics"
    Option "Device"      "/dev/mouse"
    Option "Protocol"    "auto-dev"
	Option "LeftEdge"	"1700"
	Option "RightEdge"	"5500"
	Option "TopEdge"	"1700"
	Option "BottomEdge"	"4200"
	Option "FingerLow"	"25"
	Option "FingerHigh"	"30"
	Option "MaxTapTime"	"350"
	Option "MaxTapMove"	"220"
	Option "VertScrollDelta" "100"
	Option "MinSpeed"	"0.09"
	Option "MaxSpeed"	"0.18"
	Option "AccelFactor"	"0.0035"
	Option "SHMConfig"	"on"
EndSection

Section "Monitor"

    Identifier  "My Monitor"
    Option "DPMS" "true"
EndSection

Section "Device"
	Identifier "sis"
	Driver "sis"
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "sis"
    Monitor     "My Monitor"
   DefaultDepth 24
    Subsection "Display"
        Depth       8
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
EndSection

Section "InputDevice"
	Identifier "Mouse2"
	Driver "mouse"
	Option "Protocol" "IMPS/2"
	Option "Device" "/dev/input/mouse0"
	Option "ZAxisMapping" "4 5"
	Option "Buttons" "5"
EndSection

Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen "Screen 1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse1"
    InputDevice "Mouse2"
EndSection
And the output of the dpms area of xset -q:

Code:
DPMS (Energy Star):
  Server does not have the DPMS Extension
What am I doing wrong? Whenever I try to xset dpms force off, or xset dpms force on, the xset program just displays it's syntax stuff... And when I try working with other dpms options through xset, I don't get anywhere...

Thanks everyone,
James
 
Old 12-02-2005, 06:30 PM   #2
jkassemi
Member
 
Registered: May 2004
Location: Albuquerque, NM
Distribution: slackware-current, slamd64-11
Posts: 106

Original Poster
Rep: Reputation: 15
Update... I was messing around with my xorg.conf file some more, cleaning it up, etc, and somehow it started working:

Code:
Section "Module"
	Load       "dbe"  	# Double buffer extension
	Load       "type1"
	Load       "freetype"
	Load       "glx"
	Load	   "extmod"
EndSection

Section "Files"

    RgbPath	"/usr/X11R6/lib/X11/rgb"
    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/TTF/"
    FontPath   "/usr/X11R6/lib/X11/fonts/encodings/"
    FontPath   "/usr/X11R6/lib/X11/fonts/util/"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath   "/usr/X11R6/lib/X11/fonts/CID/"
    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/cyrillic/"
    FontPath   "/usr/share/fonts/monotype/TrueType/"
    FontPath   "/usr/share/fonts/artwiz/:unscaled"
EndSection

Section "InputDevice"
    Identifier	"Keyboard1"
    Driver	"kbd"
    Option     "XkbModel"      "microsoft"
EndSection

Section "InputDevice"

    Identifier	"TouchPad"
    Driver	"synaptics"
    Option "Device"      "/dev/mouse"
    Option "Protocol"    "auto-dev"
	Option "LeftEdge"	"1700"
	Option "RightEdge"	"5500"
	Option "TopEdge"	"1700"
	Option "BottomEdge"	"4200"
	Option "FingerLow"	"25"
	Option "FingerHigh"	"30"
	Option "MaxTapTime"	"350"
	Option "MaxTapMove"	"220"
	Option "VertScrollDelta" "100"
	Option "MinSpeed"	"0.09"
	Option "MaxSpeed"	"0.18"
	Option "AccelFactor"	"0.0035"
	Option "SHMConfig"	"on"
EndSection

Section "InputDevice"
	Identifier "USB Mouse"
	Driver "mouse"
	Option "Protocol" "IMPS/2"
	Option "Device" "/dev/input/mouse0"
	Option "ZAxisMapping" "4 5"
	Option "Buttons" "5"
EndSection

Section "ServerFlags"
    Option      "blank time"    "10"    # 10 minutes
EndSection


Section "Monitor"
    Identifier  "My Monitor"
    Option "dpms"
EndSection

Section "Device"
	Identifier "sis"
	Driver "sis"
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "sis"
    Monitor     "My Monitor"
   DefaultDepth 24
    Subsection "Display"
        Depth       24
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen "Screen 1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "TouchPad" "CorePointer"
    InputDevice "USB Mouse" "SendCoreEvents"
EndSection
Take it easy,
James
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DPMS Question s4006576 Slackware 6 02-22-2005 02:00 PM
dpms: stop from waking apberzerk Linux - General 1 10-17-2004 04:52 PM
slackware 10.0 DPMS not working jbebel Slackware 15 08-12-2004 02:05 PM
slack 10 DPMS... very confusing kule Slackware 8 07-18-2004 09:29 AM
Xinerama DPMS problem getsaf Slackware 0 02-22-2003 08:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration