Click to See Complete Forum and Search --> : middle wheel on mouse?


coopns
01-27-2004, 09:11 PM
Mandrake 9 KDE
Can I get the middle scroll wheel on my mouse to work in Mandrake like it does it Windows? Or is that the way she works?

Thanks.

j79zlr
01-27-2004, 09:15 PM
Look for your mouse section in XF86Config and add this

Option "Buttons" "5"
ZAxisMapping "4 5"

This is my FreeBSD one, but you get the idea:

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/sysmouse"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"

coopns
01-27-2004, 09:23 PM
Thanks for the respone. Could you dumb that down for me. I have only been on KDE about 10 times (i.e. really new).

j79zlr
01-27-2004, 09:27 PM
Log on as root and go to /etc/X11. There should be a file named XF86Config, edit that. There will be a mouse section like I posted above, just add these lines in that section.

Option "Buttons" "5"
ZAxisMapping "4 5"

coopns
01-27-2004, 10:04 PM
I added it but doesn't seem to work. No doubt did something wrong. I added it at the end there.

Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection

Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Keyboard"
Protocol "Standard"
XkbModel "pc105"
XkbLayout "us"
XkbOptions ""
EndSection

Section "Pointer"
Protocol "PS/2"
Device "/dev/psaux"
Emulate3Buttons
Emulate3Timeout 50
Option "Buttons" "5"
ZAxisMapping "4 5"

EndSection
Option "Buttons" "5"
ZAxisMapping "4 5"

j79zlr
01-27-2004, 11:08 PM
Remove the 2 emulate 3 buttons lines. You need to log out and back in to see if its working.

bwkaz
01-27-2004, 11:17 PM
And get rid of the two lines you added -- they were already there, inside the Pointer section. As it is, there's a syntax error in the config file because those two lines can't exist outside a Section.

You'll probably also have to change the Protocol line. The Intellimouse Explorer line of mice uses "ExplorerPS/2". The original Intellimouse line uses "IMPS/2". I'm not sure what "PS/2" is for, but it wouldn't surprise me if that only allowed 2 or 3 buttons instead of 5 like IMPS/2, or 7 like ExplorerPS/2.

TotalNewb
01-28-2004, 02:27 AM
Heh.
Changin those settings my self too but i cant even find
right file lol :).
i got these files at /etc/X11
XF86Config-4
XF86Config-4.old
XF86Config.test
XF86Config.test.old
So what of those i need to edit ?
Thanks for replys :)
(There where others files too but they had nothing
to do with XF86Config)

-TotalNewb

j79zlr
01-28-2004, 02:41 AM
XF86Config-4

All distros can be similarly different. :)

TotalNewb
01-28-2004, 03:11 AM
Thank you :)

slipperyfish
01-28-2004, 07:26 AM
The Newbie way:

1. Open Mandrake Control Center
2. Click on Hardware
3. Click on the mouse icon

I am guessing you have PS/2 > Standard selected. If so simply change this to PS/2 > generic ps/2 wheel mouse. If you have a serial mouse try Serial > MS intelimouse.

The test area to the right doesn't seem to update properly so don't be fooled... ;)

coopns
01-30-2004, 10:19 PM
Still can't get the mouse to scroll.

Here is what I have...

Section "Pointer"
Protocol "ExplorerPS/2"
Device "/dev/psaux"
Option "Buttons" "5"
ZAxisMapping "4 5"

What am I missing?

MMYoung
01-30-2004, 10:41 PM
Originally posted by coopns
Still can't get the mouse to scroll.

Here is what I have...

Section "Pointer"
Protocol "ExplorerPS/2"
Device "/dev/psaux"
Option "Buttons" "5"
ZAxisMapping "4 5"

What am I missing?
I think that it should read:

Option ZAxisMapping "4 5"

phlipant
01-30-2004, 11:08 PM
on my wheel mouse i use

Protocol "IMPS/2"


you will need to restart X, or reboot your computer.

you can also use the utility mouseconfig

EnigmaOne
01-31-2004, 01:07 AM
We could make this the "InputDevice" configuration thread. What the heck:
KDE with a Logitech TrackMan Wheel P/N:804380-0000, M/N: T-BB18

/etc/X11/XF86Config-4

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

Ctrl-Alt-Backspace to restart X.

coopns
01-31-2004, 09:53 PM
Just to drag this post out a bit more....

I finally got'er to work. Being the genius that I am (four days later) I flipped the mouse over and saw it said..Intellimouse.

So I added that to the correct file, rebooted and she worked.

Section "Pointer"
Protocol "ExplorerPS/2"
Device "/dev/psaux"
ZAxisMapping 4 5

Learned a bit and the wife is happy with the scrolling mouse.

Appreciate all the repsones.

Coop

EnigmaOne
02-01-2004, 06:51 PM
Glad to hear it.....don't forget that you only have 12 more shopping days before Valentine's Day. ;)