LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   USB mouse moves up/down no right/left (https://www.linuxquestions.org/questions/linux-hardware-18/usb-mouse-moves-up-down-no-right-left-229499/)

noahsatellite 09-11-2004 07:51 PM

USB mouse moves up/down no right/left
 
I am using a Logitech Cordless Freedom Pro which has a ps/2 keyboard and usb mouse. Since I have a laptop w/only 1 ps/2 port i need to use the mouse as usb even though it has a converter to ps/2.

xorg.conf says:

Section "InputDevice"
Identifier "UsbMouse"
Driver "mouse"
#Driver "MouseMan"
Option "Protocol" "Auto"
#Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
EndSection

when i log into X my mouse will only move UP/DOWN. interestingly enough, i have 4 buttons (one scroller/button and one thumb) and when pressed, the mouse moves different amounts to the right (thumb button moves it the farthest, left button moves it just a little, etc). any ideas?

TIA
noah

slackie1000 09-12-2004 07:23 AM

Quote:

Option "Buttons" "5"
hi there,

the mistake is the number of buttons. Xorg does not understand that.
An example : a scroll buttons means 3 buttons for Xorg: you can press it, can sroll up and can scroll down.
When you say that you have 5 buttons Xorg will mess your setup. In your case, should be something like
Code:

Options "Buttons" "6"
Options "ZAxisMapping" "5 6"

I am not an expert, so you need to try by yourself wich is the corrent info for the ZAxis.

regards

slackie1000

noahsatellite 09-12-2004 09:29 PM

well, i changed buttons to 6 but still no luck. same thing--mouse will only move up/down and button presses move it right...

i have tried protocol IMPS/2 and AUTO as well as driver mouse and mouseman
xorg.conf:
# LOGITECH MOUSE START
Section "InputDevice"
Identifier "UsbMouse"
Driver "mouse"
#Driver "MouseMan"
#Option "Protocol" "Auto"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
#Option "ZAxisMapping" "4 5"
Option "Buttons" "6"
Option "ZAxisMapping" "4 5"
EndSection
# LOGITECH MOUSE END

Tuvok 09-12-2004 09:50 PM

Try Knoppix or DSL, and look for the X config file to take a hint.

slackie1000 09-13-2004 02:41 AM

hi there again,

yeah, knoppix is always a good idea in such case but i would give another try.

when you write

Code:

Options "Buttons" "6"
I think you should put the ZAxis "5 6".
From the top of my head, i think it is a kind of rule the the last two are for the scroll.
This option can always be changed with a little help of

Code:

xmodmap
I advice a read at

Code:

man xmodmap
you can play with the buttons... Ex.

Code:

xmodmap -e "pointer = 2 4 3 5 1 6"
will mess with your mouse. :D

regards

slackie1000


All times are GMT -5. The time now is 09:39 PM.