sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
- From: "Flavien Bridault (Disk Guru)" <f.bridault AT fra.net>
- To: sm-discuss <sm-discuss AT lists.ibiblio.org>
- Subject: [SM-Discuss] swsup with evdev mouse ?
- Date: Thu, 19 Jan 2006 00:32:22 +0100
Hi people !
I'm not sure someone could help me on this very specific problem but,
who knows ? :)
I got my laptop at last working with suspend-to-disk [0]. I would be a
really happy guy if my usb mouse would like to resume as well... In
fact, it resumes well if I use the "mouse" driver in xorg, but not if I
use the "evdev" driver ( I have a 7 buttons Logitech mouse, and I really
LOVE to push my wheel on its sides to go back and forward in my web
browse ).
I attached my xorg.conf and udev local rules file. I tried to
unload/load the modules (psmouse, evdev, usbhid, uhci_hcd, ehci_hcd) but
it doesn't change anything. Having only the mouse or mouse+touchpad also
doesn't seem to influence something.
If someone has an idea or any information about the suspend support of
xorg evdev driver... thanks in advance :)
--
Flavien Bridault
Source Mage GNU/Linux - Disk Section Guru
irc: vlaaad
jabber: vlaaad AT amessage.be
Section "Module"
# This loads the DBE extension module.
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
# This loads the font modules
Load "type1"
Load "speedo"
Load "freetype"
# Load "xtt"
Load "v4l"
Load "ddc"
# This loads the GLX module
Load "glx"
Load "vbe"
# This loads the DRI module
# Load "dri"
Load "record"
Load "int10"
EndSection
# **********************************************************************
# Files section. This allows default font and rgb paths to be set
# **********************************************************************
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
# FontPath "/usr/X11R6/lib/X11/fonts/TrueType/"
# FontPath "/usr/X11R6/lib/X11/fonts/freefont/"
# The module search path. The default path is shown here.
# ModulePath "/usr/X11R6/lib/modules"
EndSection
# **********************************************************************
# Server flags section.
# **********************************************************************
Section "ServerFlags"
EndSection
# **********************************************************************
# Input devices
# **********************************************************************
# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc1022"
Option "XkbLayout" "fr"
EndSection
# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************
Section "InputDevice"
# Identifier and driver
Identifier "Mouse"
Driver "evdev"
Option "Dev Name" "Logitech USB Receiver"
Option "Dev Phys" "usb-*/input0"
Option "Device" "/dev/usbmouse"
Option "Buttons" "7"
Option "ZAxisMapping" "6 7"
Option "Resolution" "800"
EndSection
Section "InputDevice"
Identifier "Touchpad"
Driver "synaptics"
Option "Protocol" "auto-dev"
# Option "SendCoreEvents"
EndSection
# **********************************************************************
# Monitor section
# **********************************************************************
# Any number of monitor sections may be present
Section "Monitor"
Identifier "OpenBook Screen"
HorizSync 31-90
VertRefresh 50-70
Option "DPMS"
Gamma 1.0 1.05 0.90
EndSection
# **********************************************************************
# Graphics device section
# **********************************************************************
Section "Device"
Identifier "GeForce 6600 Go"
Driver "nvidia"
Option "NoLogo"
Option "CursorShadow" "On"
Option "NvAgp" "0"
# Option "RenderAccel" "True"
# Option "AllowGLXWithComposite" "True"
#VideoRam 131072
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 "GeForce 6600 Go"
Monitor "OpenBook Screen"
DefaultDepth 24
Subsection "Display"
Depth 8
Modes "1400x1050"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1400x1050"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1400x1050"
ViewPort 0 0
EndSubsection
EndSection
# **********************************************************************
# ServerLayout sections.
# **********************************************************************
Section "ServerLayout"
# The Identifier line must be present
Identifier "Simple Layout"
Screen "Screen 1"
# InputDevice "Touchpad" "CorePointer"
InputDevice "Mouse" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
#Section "Extensions"
# Option "Composite" "Enable"
# Option "RENDER" "True"
# Option "DAMAGE" "True"
#EndSection
# Section "DRI"
# Mode 0666
# EndSection
KERNEL=="event*", SYSFS{product}=="USB Receiver", NAME="%k",
SYMLINK="usbmouse"
Attachment:
signature.asc
Description: Ceci est une partie de message numériquement signée
-
[SM-Discuss] swsup with evdev mouse ?,
Flavien Bridault (Disk Guru), 01/18/2006
- Re: [SM-Discuss] swsup with evdev mouse ?, Timothée Lecomte, 01/19/2006
Archive powered by MHonArc 2.6.24.