PDA

View Full Version : [xubuntu] Had no luck setting up my logitech mouse. (xubuntu 8.04)



jdarias
May 3rd, 2008, 03:13 PM
Hello everybody.
No matter what i do, no matter what guides i follow, i cant get my LX5 to work the right way in xubuntu 8.04.
I've followed these guides and some outside tutorials.
https://help.ubuntu.com/community/Logitech_MX610
https://help.ubuntu.com/community/MX1000Mouse
The symptoms i have are:
1. Horizontal scroll isn't working: the right horizontal button doesn't work.
When i run xev i get buttons 1,2,3 for the normal 3; 4 and 5 for vertical scroll, and just 8 for the left horizontal scroll. Right pulsation is not detected.
2. The most annoying. Since i use middle mouse a lot when browsing in Firefox, the left scroll is mistakenly pressed instead of the middle mouse, so i get back in my browsing history, instead of autoscrolling, opening new tab, etc. I need either to disable this in firefox or get the autoscroll working. This is driving me nuts.
Oh, here's my current xorg.conf:

# xorg.conf (X.Org 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 "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "es"
EndSection

#Section "InputDevice"
# Identifier "Configured Mouse"
# Driver "mouse"
# Option "CorePointer"
#EndSection

Section "InputDevice"
Identifier "LX5"
Driver "evdev"
Option "Name" "Logitech USB RECEIVER" # see 'cat /proc/bus/input/devices'
Option "Phys" "*/input0" # this is the mouse part
Option "WHEELRelativeAxisButtons" "4 5" # vertical wheel
Option "HWHEELRelativeAxisButtons" "7 6" # horizontal wheel
EndSection

Section "Device"
Identifier "Configured Video Device"
Driver "nvidia"
Option "NoLogo" "True"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
Defaultdepth 24
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Inputdevice "LX5" "SendCoreEvents"
screen "Default Screen"
EndSection
Section "Module"
Load "glx"
EndSection

Please lend me a hand on this.
Btw, if i use "CorePointer" the mouse gets frozen at the login screen. How come?

jdarias
May 3rd, 2008, 03:48 PM
I looked here: http://ubuntuforums.org/showthread.php?t=767206
And i changed my section this way:

Section "InputDevice"
Identifier "LX5"
Driver "evdev"
Option "Name" "Logitech USB RECEIVER" # see 'cat /proc/bus/input/devices'
Option "Device" "/dev/input/event2" # Handlers in 'cat /proc/bus/input/devices'
Option "WHEELRelativeAxisButtons" "4 5" # vertical wheel
Option "HWHEELRelativeAxisButtons" "7 6" # horizontal wheel
EndSection
The handlers value was my miss.
The horizontal scroll works now, but it does inverted (right to go left and viseversa). It is supposed to work this way?

Xev shows something curious about the horizontal wheel:
This happens when i click the left button:

ButtonPress event, serial 31, synthetic NO, window 0x2800001,
root 0x188, subw 0x0, time 3871001, (162,5), root:(713,451),
state 0x10, button 11, same_screen YES

ButtonPress event, serial 31, synthetic NO, window 0x2800001,
root 0x188, subw 0x0, time 3871017, (162,5), root:(713,451),
state 0x10, button 7, same_screen YES

ButtonRelease event, serial 31, synthetic NO, window 0x2800001,
root 0x188, subw 0x0, time 3871017, (162,5), root:(713,451),
state 0x10, button 7, same_screen YES

ButtonRelease event, serial 31, synthetic NO, window 0x2800001,
root 0x188, subw 0x0, time 3871257, (162,5), root:(713,451),
state 0x10, button 11, same_screen YES
And this is the output for the right:

ButtonPress event, serial 31, synthetic NO, window 0x2800001,
root 0x188, subw 0x0, time 3953046, (163,3), root:(805,414),
state 0x10, button 12, same_screen YES

ButtonPress event, serial 31, synthetic NO, window 0x2800001,
root 0x188, subw 0x0, time 3953070, (163,3), root:(805,414),
state 0x10, button 6, same_screen YES

ButtonRelease event, serial 31, synthetic NO, window 0x2800001,
root 0x188, subw 0x0, time 3953070, (163,3), root:(805,414),
state 0x10, button 6, same_screen YES

ButtonRelease event, serial 31, synthetic NO, window 0x2800001,
root 0x188, subw 0x0, time 3953206, (163,3), root:(805,414),
state 0x10, button 12, same_screen YES
So how come there are like 2 buttons in one?