I screwed up the mouse config during install

Ok, here's the deal. I was installing LINUX and apparently screwed up when configuring my mouse, because it doesn't work (ATT ALL) when booted to LINUX but is fine in Windows. My question is, can I fix this without completely reinstalling LINUX? I tried to get to mouseconfig...but it appeared to be useless when I got there. I'm just wondering. If I must, I will just reinstall.
Amanda012600Asked:
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.

joe_hCommented:
Does your mouse not work in text consoles or in X Windows ?

There is rarely a need to reinstall Linux...
0
freesourceCommented:
Make sure you have this file:

/dev/mouse  it should be symlinked to the serial port the mouse is on like this:

/dev/mouse -> ttyS0

Then you may want to run gpm if you use the console.  On my system it runs like this:

 /usr/sbin/gpm -m /dev/ttyS0 -t ms -l "a-zA-Z0-9_.:~/\300-\326\330-\366\370-\377"


It uses /dev/ttyS0 directly, sets the mouse type to ms (default for gpm) and the charset is defined with -l.  Look at "man gpm."

Now for X Windows you need to edit the XF86Config file.

Something like this:

Section "Pointer"                                                      
   Protocol        "Microsoft"                                        
   Device          "/dev/mouse"
   BaudRate        1200                                                    
   Emulate3Timeout 50                                
   Resolution      100
   Buttons         3                                                        
   Emulate3Buttons                                                        
EndSection    

see "man XF86Config" where it discusses the pointer section. The important this to realize is that /dev/mouse points to /dev/ttyS0 ... it could have been done this way to:

Device    "/dev/ttyS0"

You also need to specify what protocol your mouse uses.  The Microsoft protocol works fine for my cheap clone mouse.  To get the third button I press 1 and 3 together.  Here are the protocols.
                    Auto
                    BusMouse
                    GlidePoint
                    GlidePointPS/2
                    IntelliMouse
                    IMPS/2
                    Logitech
                    Microsoft
                    MMHitTab
                    MMSeries
                    Mouseman
                    MouseManPlusPS/2
                    MouseSystems
                    NetMousePS/2
                    NetScrollPS/2
                    OSMouse
                    PS/2
                    SysMouse
                    ThinkingMouse
                    ThinkingMousePS/2
                    Xqueue

You can read about the rest of the options in the manpage.  After you edit the /etc/X11/XF86Config file stop X Windows, and start it over.  You may have a strange mouse, you may have to tinker around, but eventually you will get it to work.  And I am here to help.
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
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.