my 3 button mouse doesn't work!

i can get the third button work...
the mouse!!

i can't scroll up and down...

anyone know how to config it?
evan_evanAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jimbbCommented:
I assume you are talking about X?  ("X Windows")

Most likely you need to edit your XF86Config (which should be in /etc/X11/).

Set the Protocol to "IMPS/2" and also add this line to the same mouse section:

        Option      "ZAxisMapping" "4 5"

Note: your OS may come with a tool that does all this for you!  Check the documentation, you may have "mouseconfig" or something similar.

If you still have problems, follow up to this post.
0
jdfoxCommented:
What make and model of mouse are you using?  
What version of XFree86 are you running?  
Which version of Linux are you running?

If you're using verion 4 of XFree86 (the X Windows that comes with Linux), then the config file is now /etc/X11/XF86Config-4.

If you're using the older version 3, then it's /etc/X11/XF86Config

Please post up a copy of your config file, whichever one it is, and we should be able to fix the problem.
0
jimbbCommented:
Actually the filename can be either with or without the -4.  The only reason it would "need" to be -4 is if both X3 and X4 are (or were) installed on the same system.

From the XF86Config man page:

       XFree86  uses  a  configuration  file called XF86Config for its initial
       setup.  This configuration file is searched for in the following places
       when the server is started as a normal user:

           /etc/X11/<cmdline>
           /usr/X11R6/etc/X11/<cmdline>
           /etc/X11/$XF86CONFIG
           /usr/X11R6/etc/X11/$XF86CONFIG
           /etc/X11/XF86Config-4
           /etc/X11/XF86Config
           /etc/XF86Config
           /usr/X11R6/etc/X11/XF86Config.<hostname>
           /usr/X11R6/etc/X11/XF86Config-4
           /usr/X11R6/etc/X11/XF86Config
           /usr/X11R6/lib/X11/XF86Config.<hostname>
           /usr/X11R6/lib/X11/XF86Config-4
           /usr/X11R6/lib/X11/XF86Config
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

allelopathCommented:
I had the same problem and just to add a data point:
I first made the changes to XF86Config and it did not solve the problem.  I then made the changes to XF86Config-4 and it did solve the problem.

RH 7.3
0
jimbbCommented:
RTFM.  If you have both config files installed, it's going to find the -4 version first.  See above.
0
evan_evanAuthor Commented:
i am using redhat linux 8, then how to config it?
plz tell me step by step, i am noob :p
0
jimbbCommented:
Run redhat-config-mouse and select the appropriate Wheel Mouse option (USB vs. PS/2).  Do _not_ select "Emulate 3 button click."

Then, log out and back into your X session.

Does it work then?  If not, then you should edit /etc/X11/XF86Config and make the changes I described above.  Are you familiar with any particular text editor?

If you're using a PS/2 mouse, you want your InputDevice section to look like this:

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

Or, if it's USB:

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


If it still doesn't work after making those changes (remember, you have to log out of your X session and log back in again for it to take effect), then let us know.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
taherscherzayCommented:
Another quick method to add/reconfigure mouse support is to run built in utility within Linux kernel call "mouseconfig" located at /usr/sbin/mouseconfig. Just run it in a shell and add your mouse - either using the manufacturer or as a generic mouse. This applies to Redhat 7.3/8.0
0
jimbbCommented:
mouseconfig is not in the kernel :) but yes, that should work too (make sure you're root first).
0
evan_evanAuthor Commented:
it works out

thank you all
0
djluffCommented:
With the mice I have, as soon as I set it to IMPS/2 the wheel works, but the third button stops working. If I set it back to PS/2 I get the third button back, but the wheel goes away.

I havent been able to get the third button and the wheel both working at once.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.