PDA

View Full Version : [ubuntu] Mouse configuration issues



BarnabasDK
October 26th, 2008, 01:35 PM
Hi all,

I have a small issue that is not really that important aside from the irritaion of not knowing why something does not work :-)

I had a working mouse configuration for 7.x that stopped working with 8.x. It is the known issue about mouse doubleclicks.

When I remove the configuation for the mouse as in the attached config all is well, when I reinstate the commented out lines I get mouse doubleclicks for every click.

I suppose xorg or gdm does some auto configuration when no mouse config is present in the xorg.conf?

My guess is, that when mouse config is present in xorg.conf a click is registered through xorg and another click though gdm?


# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
Fontpath "/usr/share/fonts/X11/misc"
Fontpath "/usr/share/fonts/X11/cyrillic"
Fontpath "/usr/share/fonts/X11/100dpi/:unscaled"
Fontpath "/usr/share/fonts/X11/75dpi/:unscaled"
Fontpath "/usr/share/fonts/X11/Type1"
Fontpath "/usr/share/fonts/X11/100dpi"
Fontpath "/usr/share/fonts/X11/75dpi"
# path to defoma fonts
Fontpath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "extmod"
Load "dri"
Load "glx"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "freetype"
Load "int10"
Load "vbe"
Load "dbe"
EndSection

Section "InputDevice"
Identifier "Danish Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "dk"
EndSection

#Section "InputDevice"
# Identifier "Logitech MX-700"
# Driver "mouse"
# Option "Protocol" "ExplorerPS/2"
# Option "Protocol" "auto"
# Option "Dev Name" "Logitech USB Receiver"
# Option "Dev Phys" "/dev/usbdev2.2_ep00"
# Option "Device" "/dev/input/mice"
# Option "Buttons" "10"
# Option "ZAxisMapping" "4 5"
# Option "ButtonMapping" "1 2 3 6 7 "
# Option "Resolution" "800"
#EndSection

Section "Device"
Identifier "ATI Technologies Inc Radeon R300 ND [Radeon 9700 Pro]"
BusID "PCI:3:0:0"
Driver "radeon"
Option "EnablePageFlip" "true"
Option "GARTSize" "64"
Option "AGPMode" "8"
Option "ColorTiling" "on"
Option "AccelMethod" "XAA"
# Option "AccelMethod" "EXA"
Option "DMAForXv" "on
Option "DRI" "on"
EndSection

Section "Monitor"
Identifier "Samsung SyncMaster 900p"
Vendorname "Samsung"
Modelname "Samsung SyncMaster 900p (CSH9839*)"
Option "DPMS"
HorizSync 30-107
VertRefresh 50-85
Gamma 2.0
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies Inc Radeon R300 ND [Radeon 9700 Pro]"
Monitor "Samsung Syncmaster 900p"
DefaultDepth 24
SubSection "Display"
Modes "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Option "AIGLX" "true"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Danish Keyboard"
# InputDevice "Logitech MX-700"
EndSection

Section "DRI"
Mode 0666
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection

BarnabasDK
October 26th, 2008, 06:41 PM
Hi again all.

Aparantley setting a core pointer value to the config does the trick..


Section "InputDevice"
Identifier "Logitech MX-700"
Driver "mouse"
Option "CorePointer"
Option "Protocol" "ExplorerPS/2"
# Option "Protocol" "auto"
Option "Dev Name" "Logitech USB Receiver"
# Option "Dev Phys" "/dev/usbdev2.2_ep00"
Option "Device" "/dev/input/mice"
Option "Buttons" "10"
Option "ZAxisMapping" "4 5"
Option "ButtonMapping" "1 2 3 6 7 "
Option "Resolution" "800"
EndSection