Click to See Complete Forum and Search --> : Scroll whell on mouse


Floppyman
09-21-2002, 04:21 PM
Hi all,

Could someone quick tell me how to get the scroll wheel working on my mouse. It's a ps/2 Logitech ball mouse. Thanks.

mdwatts
09-21-2002, 04:31 PM
Actually if you searched the forums here for the previous mouse wheel threads, you would probably have it working by now.

Also the mouse config examples at www.xfree86.org will help.


Section "InputDevice"
Driver "mouse"
Identifier "A4-Tech"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/psaux"
Option "Buttons" "3"
Option "ZAxisMapping" "4 5"
EndSection


Change your InputDevice Section in /etc/X11/XF86Config (-4).

Floppyman
09-21-2002, 05:59 PM
Thanks for the reply. You're right a quick search pointed me in the right direction and now everything's working fine. Thanks again.

Dan Hassell
11-07-2002, 12:31 AM
I have read a lot of posts here and tried everything but no luck with the wheel. My XF86Config-4 looks like:

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Device" "/dev/psaux"
Option "Protocol" "PS/2"
Option "Buttons" "3"
Option "ZAxisMapping" "4 5"
EndSection

When I change Protocol PS/2 to IMPS/2 then X freezes hard. The mouse is a very plain MicroSloth Wheel Mouse 3.0 PS/2 Compatible ($8.00 at Circuit City!) so it is not an intellimouse.

As I understand it since I have XF86 4 I should be able to get mouse wheel support for at least the new apps without IMwheel installed.

System:
Red Hat 7.3, Gnome 1.4
eMachines 600 mhz Celeron
192 MB SDRAM, 10 GB EIDE.

Any suggestions?
-Dan

DarkJedi9
11-07-2002, 12:37 AM
In order to use "Option" "ZAxisMapping" "4 5", you need to put "Option" "Buttons" "5", not 3, even though you only have three buttons. I guess the basic idea is the 4th and 5th button become up and down on the wheel when interpreted by X. It leads to some interesting effects when you then actually try to use your 4th and 5th buttons, if you have them. (And no, they don't act like scrolling the wheel...)

mdwatts
11-07-2002, 07:21 AM
Option "Buttons" "3"
Option "ZAxisMapping" "4 5"

is correct for a 3 button mouse.

Option "Buttons" "5"
Option "ZAxisMapping" "4 5 6 7"

is for a 5 button mouse.

Dan Hassell... I'm surprised IMPS/2 does not work.

Check the mouse documentation at www.xfree86.org to find other suggestions.

Also search Google for Linux ( www.google.com/linux ) for i.e. "MicroSloth Wheel Mouse xf86config" to see if you can find any XF86Config examples for your particular mouse.

DarkJedi9
11-07-2002, 10:12 AM
Originally posted by mdwatts
Option "Buttons" "5"
Option "ZAxisMapping" "4 5 6 7"

is for a 5 button mouse.


Really? I am definitely trying that.

JP83
11-07-2002, 12:27 PM
Option "Device" "/dev/psaux"
Option "Protocol" "MouseManPlusPS/2"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"

Dan Hassell
11-07-2002, 11:48 PM
Sorry guys this is not working. I checked www.xfree86.org and www.google.com/linux and tried a few ideas from there.
Tried Protocol "MouseManPlusPS/2", it locked up.
Tried Protocol "Microsoft", it locked up.
Tried Protocol "IMPS/2" again, just to make sure, it locked up.
Tried Protocol "Auto", it locked up.

By lock up I mean the mouse is not responding, keyboard is dead, can't even switch to another terminal w/ ctrl-alt-Fwhatever, have to hit reset. Really dead.

This mouse only has three buttons so all of the 5 button advice is not useful.

Help!

JP83
11-08-2002, 01:13 AM
This is my full file "MouseManPlusPS/2" is Logitech mouse try to change the device "/dev/psaux" to "/dev/mouse" or other device.

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "MouseManPlusPS/2"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection


Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

MeLassen
11-08-2002, 04:13 AM
Question on top of this:

I managed to install the wheel, but my config file contains two mice: Mouse1 and Mous0. Can I delete one of them?

MeLassen

JP83
11-08-2002, 08:24 AM
I did have this problem i deleted another but maybe it's safe that leave that alone.

Dan Hassell
11-30-2002, 12:04 AM
I stumbled across a "solution" to this problem. Turns out the machine did not really crash when I use protocol IMPS/2. When it comes up in gdm it looks like it has crashed, and will not respond to mouse or keybd. But by accident I bumped the "suspend mode" power button, and then moved the mouse. It returns from suspend with everything working, including the scroll wheel! Does this clue mean anything to anyone here? Other than that my hardware is goofy ...

-Dan