PDA

View Full Version : General linux/mandrake question - 3 button mouse



sequser
07-11-2002, 02:06 AM
As i posted previously, I recently did a fresh Mandrake 8.1 reinstall. I have a usb mouse, but previously the mouse was not working on boot, only after I had started up, so this time when I did the install i used the adapter to switch the mouse to ps/2 and plugged it into the ps/2 port.

Well, linux thinks I have a 2 button mouse. The scroll wheel does nothing, the middle button click does nothing. If I click both buttons I get the middle click, just as you would with a 2 button mouse.

here is excerpt from my XF85Config file:



Section "Pointer"
Protocol "PS/2"
Device "/dev/psaux"
Emulate3Buttons
Emulate3Timeout 50

# ChordMiddle is an option for some 3-button Logitech mice

# ChordMiddle



Any ideas?

Mr. Suspicious
07-11-2002, 03:34 AM
Any ideas?


Yes, please read the Mandrake documetation. It's in there (and the most logical place to look for it, don't you think?) From the top of my head, you need to specify a different protocol in a few places to make the third button work.

casey
07-12-2002, 07:45 AM
General linux/mandrake question - 3 button mouse

I have a usb mouse

Well, linux thinks I have a 2 button mouse

here is excerpt from my XF85Config file:
...
Device "/dev/psaux"
Emulate3Buttons
Emulate3Timeout 50


4 hints.

1) if you have 3 buttons, you dont need to emulate them (emulation is for things you dont have).

2) you need to map buttons 4 and 5 for your mousewheel.

3) /dev/psaux is your ps2 mouse port. not your usb port.

4) www.xfree86.org. 5 minutes reading docs would have made this post unnecesary.

fryfrog
07-12-2002, 08:46 AM
# Identifier and driver

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"

that is what i use for my intelli-mices.