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