Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
03-16-2006, 02:10 AM
|
#1
|
LQ Newbie
Registered: Jan 2006
Posts: 29
Rep:
|
mouse problem
I'm having troubles making Linux to recognize my mouse. I've tried 3 different PS2 mice (producers: GPT, Compaq, Accord) and none is working. A USB mouse taht I have is working fine but I don't like him at all and really prefer working with one of the PS2's (preferably the GPT).
Any help will be appreciated.
|
|
|
03-16-2006, 02:12 AM
|
#2
|
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211
Rep: 
|
OK - which linux do you have and how have you tried getting the mice to work?
Anything special about the mice? Odd button layouts or anything like that or are these standard PS2 3-button wheel thingies?
|
|
|
03-16-2006, 09:41 AM
|
#3
|
Member
Registered: Jul 2005
Location: Rhinelander Wi.
Distribution: FC6 F7 F8
Posts: 94
Rep:
|
I would think a mouse is a mouse I'm using a Logitec optical PS2 3 button wheel mouse thats so old I've rubbed the wording off the top, had to pick it up and look at the bottom to find out what kind it was. Of all the distros I've tried the only one I ever had problems with was RH 6.1 And even in there the only problem was getting the wheel to work. Now using Mandriva 2005 works perfect. Infact I just checked the back and its one of those that can go either PS2 or USB.
|
|
|
03-16-2006, 03:40 PM
|
#4
|
Member
Registered: Apr 2003
Distribution: Gentoo
Posts: 52
Rep:
|
There's no reason why any mouse shouldn't work fine on Linux; the chances are that your system is simply configured for USB mice and not for PS/2. If you can tell me which distribution and which version you're using, I can give you some sensible instructions on how to change this.
It would also help to know if your distribution uses XFree86 or Xorg and which version of those, and also which Linux kernel version it uses, but if you aren't sure it shouldn't matter too much.
|
|
|
03-17-2006, 12:26 AM
|
#5
|
LQ Newbie
Registered: Jan 2006
Posts: 29
Original Poster
Rep:
|
I'm using Fedora Core4. Kernel v2.6 (I think 2.6.11 but no sure).
The mouse I'd like most to make working is an optical one, produced by GPT. 2 Buttons + wheel. Nothing special. The other mice are 2 buttons+whell (accord), and 2 buttons only (compaq). The USB one has 4 buttons and a wheel and is working fine.
|
|
|
03-17-2006, 06:02 AM
|
#6
|
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211
Rep: 
|
How are you trying to recognise the mouse?
With fedora, kudzu should deal with the ps2 mice happily. The simplest is to switch off, pull the mouse out, switch on.
kudzu will tell you a mouse has been removed.
switch off, plug the ps2 mouse in, switch on.
kudzu announces that a mouse has been added and asks if you want to configure it.
There are ways other than this nasty windows-ism, but this will usually work.
(Just plugging the ps2 mouse in will not always get it detected.) I have a ps2 mouse in FC4 and I havn't actually tried hotplugging it...
|
|
|
03-17-2006, 09:11 AM
|
#7
|
LQ Newbie
Registered: Jan 2006
Posts: 29
Original Poster
Rep:
|
Didn't work:-(
BTW, I'm working on a computer with a dual OS (FC4 and WinXP Pro).
From some reason, the moment I restart the computer and choose to load FC4 the light in my optical mouse turns off and it stops working.
|
|
|
03-17-2006, 10:17 AM
|
#8
|
Member
Registered: Jul 2005
Location: Rhinelander Wi.
Distribution: FC6 F7 F8
Posts: 94
Rep:
|
Does the PS2 mouse work when you boot to windows?
|
|
|
03-17-2006, 11:08 AM
|
#9
|
LQ Newbie
Registered: Jan 2006
Posts: 29
Original Poster
Rep:
|
When I start my computer with WinXP there's no problem. But if I start it with WinXP, then boot to linux (and using the USB mouse) and then trying to get back to win it doesn't work - I have to plug out the mouse and then plug it in in order for Win to recognize it
|
|
|
03-17-2006, 05:49 PM
|
#10
|
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211
Rep: 
|
OK - for some reason the mouse is being switched off when you boot.
after bootstrap, try dmesg | grep mouse etc (or just dmesg and hunt through the output) to see what the syslog says about your mouse.
also, I'll want to have a look at /etc/X11/xorg.conf for the bits where the mouse is mentioned.
|
|
|
03-17-2006, 05:56 PM
|
#11
|
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211
Rep: 
|
Hmmm... hunting around the fedora forum there is some intimation that this can be a bios problem. Some bioses have the ability to turn off ps2 mouse recognition ... dosn't seem to be needed in windows. Worth a look.
You may also need to add the following to the kernel line in grub.conf:
psmouse.proto=imps
|
|
|
03-17-2006, 06:09 PM
|
#12
|
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211
Rep: 
|
http://kerneltrap.org/node/1587
http://www.computing.net/linux/wwwbo...rum/27854.html
Some thoughts: when you say "didn't work" what did you mean?
Presumably that the reboot/replugging procedure didn't get the mouse to work. Never mind that, did kudzu detect the mouse at all?
Are you using this mouse through a switch? Or directly into the ps2 socket on the back of the box?
|
|
|
03-18-2006, 05:18 AM
|
#13
|
LQ Newbie
Registered: Jan 2006
Posts: 29
Original Poster
Rep:
|
Quote:
Originally Posted by Simon Bridge
OK - for some reason the mouse is being switched off when you boot.
after bootstrap, try dmesg | grep mouse etc (or just dmesg and hunt through the output) to see what the syslog says about your mouse.
also, I'll want to have a look at /etc/X11/xorg.conf for the bits where the mouse is mentioned.
|
dmesg | grep mouse resulted in:
PS/2 mouse device common for all mice
I went to /etc/X11/xorg.conf and found the following:
under ServerLayout section:
Input Device: "Mouse0" (among others)
under InputDevice section:
Identifier "Mouse0"
Driver "mouse"
Option "protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
It doesn't mean too much for me (I'm quite new to all this Linux thing...)
|
|
|
03-18-2006, 05:19 AM
|
#14
|
LQ Newbie
Registered: Jan 2006
Posts: 29
Original Poster
Rep:
|
Quote:
Originally Posted by Simon Bridge
|
It's connected directly to the socket on the back of the box
|
|
|
03-21-2006, 01:29 AM
|
#15
|
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211
Rep: 
|
Quote:
Originally Posted by lini
dmesg | grep mouse resulted in:
PS/2 mouse device common for all mice
I went to /etc/X11/xorg.conf and found the following:
under ServerLayout section:
Input Device: "Mouse0" (among others)
under InputDevice section:
Identifier "Mouse0"
Driver "mouse"
Option "protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
It doesn't mean too much for me (I'm quite new to all this Linux thing...)
|
That's all right - you won't want to wade through the xorg.conf man page either
Now there is something missing from this file. I don't see anything saying "corepointer" Under "ServerLayout" section, the line should read:
Code:
InputDevice "Mouse0" "CorePointer"
What it means - is quite easy to guess:
Identifier: is just a string so the computer has something to call it when it talks to you.
Driver: identifies which driver X must use.
Option: these lines specify driver command-line options to be used. In your case it uses IMPS/2 protocol because it is a ps/2 mouse; the files for it are at /dev/input/mice; the axis mapping is to get aspect ratios right; and you can emulate a "middle-button-click" by pressing the left and right buttons simultaniously (Emulate3Buttons=yes).
|
|
|
All times are GMT -5. The time now is 04:12 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|