LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-16-2003, 06:32 PM   #1
rory
LQ Newbie
 
Registered: Jan 2003
Location: Manchester U.K.
Distribution: Vector Linux SOHO 5.1.1
Posts: 12

Rep: Reputation: 0
Unhappy Mouse not working


I have installed Red Hat 8.0. During installation the mouse worked fine. On rebooting into Linux the mouse no longer works. (It still works in Windows). I have tried swapping serial ports but no luck. Help!
 
Old 01-17-2003, 01:57 AM   #2
oulevon
Member
 
Registered: Feb 2001
Location: Boston, USA
Distribution: Slackware
Posts: 437

Rep: Reputation: 30
What kind of mouse are you using?
 
Old 01-17-2003, 03:08 AM   #3
rory
LQ Newbie
 
Registered: Jan 2003
Location: Manchester U.K.
Distribution: Vector Linux SOHO 5.1.1
Posts: 12

Original Poster
Rep: Reputation: 0
A Microsoft 2 button serial mouse. I tried the same mouse on another RH 8.0 machine and it was fine.
 
Old 01-17-2003, 11:04 AM   #4
oulevon
Member
 
Registered: Feb 2001
Location: Boston, USA
Distribution: Slackware
Posts: 437

Rep: Reputation: 30
You are going to have to edit your /etc/X11/XF86Config file. Open it up with a text editor. Scroll down until you get to the section that's entitled "Input Devices". In there you are going to find a section that reads something like this:

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

note: that is the entry from my file. If you're using a two button mouse yours should be slightly different. Under Option "Protocol" you file should probably have "PS/2" instead of "IMPS/2". And you shouldn't need the Option "ZAxisMapping" "4 5" entry. So your entry should probably read something like this:

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/mouse"

This will probably work, but your best bet is to go to the other Redhat machine you tested the mouse on and go into /etc/X11/XF86Config and look for the above entry in that file. You should copy that entry into your mouse section, but do not copy the whole file and put it in your computer. That would be bad. Just edit that one entry. You'll have to be su or root to do this.
 
Old 01-17-2003, 11:18 AM   #5
rory
LQ Newbie
 
Registered: Jan 2003
Location: Manchester U.K.
Distribution: Vector Linux SOHO 5.1.1
Posts: 12

Original Poster
Rep: Reputation: 0
oulevon:
Thanks for your suggestion. I will give it a try, and let you know if it works.
 
Old 01-18-2003, 06:21 PM   #6
rory
LQ Newbie
 
Registered: Jan 2003
Location: Manchester U.K.
Distribution: Vector Linux SOHO 5.1.1
Posts: 12

Original Poster
Rep: Reputation: 0
I looked at the XF86Config file on the machine with the working mouse. It read as follows:

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "Microsoft"
Option "Device" "/dev/ttyS0"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection


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

The machine with the mouse problem had the "Mouse0" section with a line that said:
Option "Device" "/dev/mice"

I changed it as above but it made no difference.

I then tried a generic unbranded serial mouse from my third PC and it worked fine.

When I said in my previous post that I had used the same mouse on my second machine, it was actually an identical Microsoft Serial Mouse 2.1A, bought from the same store at the same time.
I next unplugged the working Microsoft mouse and plugged it into the machine with the problem. Result: mouse works!

On looking closer, the working mouse is made in Mexico and the non-working mouse is made in China. They both work fine in Windows, but Linux seems to have a problem with Chinese mice!! Who can explain that??



 
Old 01-18-2003, 06:39 PM   #7
oulevon
Member
 
Registered: Feb 2001
Location: Boston, USA
Distribution: Slackware
Posts: 437

Rep: Reputation: 30
That's really strange. So you're all set now right?
 
Old 01-19-2003, 02:40 PM   #8
rory
LQ Newbie
 
Registered: Jan 2003
Location: Manchester U.K.
Distribution: Vector Linux SOHO 5.1.1
Posts: 12

Original Poster
Rep: Reputation: 0
Yes, thanks for your ideas.

I'm struggling with printer setup now, but I'll look for a relevant thread before posting anything.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mouse not working, Ug!!! ljr2600 Mandriva 18 01-15-2005 12:11 PM
Mouse not working under X Darkshine Linux - Hardware 4 10-12-2004 06:34 PM
Mouse not working need help! mazyar28 Linux - Hardware 1 02-01-2004 02:06 AM
mouse is not working shizzo Linux - Newbie 6 11-13-2003 12:47 AM
Mouse not working jkruer01 Linux - Newbie 2 04-10-2003 01:38 PM


All times are GMT -5. The time now is 04:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration