Problems Installing Microsoft 2 btn + wheel PS/2 Intellimouse
Linux - HardwareThis 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.
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.
Problems Installing Microsoft PS/2 Intellimouse (2 btn + wheel) on Mandrake 8.2
I've had problems getting my mouse to work properly with my new install of Mandrake 8.2 The mouse is a Microsoft Intellimouse PS/2, and my /etc/X11/XF86Config-4 file looks like the following:
/dev/mouse points to /dev/psaux
I also have tried Auto, Microsoft, Intellimouse, and PS/2 as my protocols. Some of these protocols made the mouse jump and unusable. The others would have no effect except to make the mouse unmovable and unusable. I also tried adding the line: Option "Emulate3Buttons" "no"
but that didn't work either.
At first my mouse didn't work under the console, so I was able to use gpm to resolve that. The only way I can get my mouse to work properly in X is to bootup, then switch to a console (Ctrl+Alt+F1), and then switch back to XWindows (Ctrl+Alt+F7). From there, the mouse will work properly, and the mouse will continue to work under any desktop manager. If I do not go to a console first, then my mouse will stay unusable after going to a desktop manager, such as WindowMaker, KDE, etc.
I know X is using /etc/X11/XF86Config-4 (I started up a bare
session, and I looked at its output after redirecting to a tmp file).
I would like to use my mouse without having to go to a console first and back to X, so does anyone have a suggestion?
I appreciate the help,
Nate
Last edited by natethebate; 07-20-2002 at 01:23 PM.
Herm, I'm really not sure about this, but maybe it's a gpm problem? Gpm can cause trouble with X sometime.
What's your distribution? In Slackware, read the file /etc/rc.d/rc.gpm, it suggest you a solution (using gpm as a repeater) try to locate a file named "something gpm" in your init directory.
the command in slack is "gpm -R msc -m /dev/mouse ps2" but I don't know if it's the same in other distro.
Better to try find the file :P
I don't have to log in when I switch back to X. By switching back to X from the console, the mouse then works. I have used gpm already to get the mouse working properly under the console. I was under the understanding gpm was only for control of the mouse in the console? I will go ahead and try using it again and see what happens.
I tried fooling around with gpm again, and gpm didn't like the repeating option. gpm seems to only work with the protocol exps2 (gpm -t exps2 -m /dev/mouse), but the closest I can get X to work was with IMPS/2 (switching from console to X).
I messed with my /etc/sysconfig/mouse file, and it looks like this right now (what it was before):
I also found the X logs, and they gave interesting errors:
(EE) xf86OpenSerial: Cannot open device /dev/mouse
No such device or address.
(WW) Mouse1: cannot open input device
But when I do an ls -l /dev/mouse, I can see it points to /dev/psaux.
I've been using google to find more on the error, but I haven't had any luck.
Last edited by natethebate; 07-21-2002 at 06:08 PM.
I got it to work, but I thought I had tried it before. So here is what I think had been happening. I bought an optical PS/2 mouse, and the same problem occurred. I also reinstalled, so I could install some things I had not gotten before. Nothing helped.
I then tried editing the .xinitrc file again, putting the line:
gpm -k
before an X session was began (this kills executing gpm process). At the end of the file, I put:
gpm -t exps2 -m /dev/mouse
so that gpm would function correctly when exiting X. This solved the problem (I thought I had tried this already, but apparently I hadn't). I believe that gpm was interfering with X, since exps2 is different than X's IMPS/2 protocol (gpm's equivalent to X's IMPS/2 is imps2).
Everything is working now. I hope this helps someone out there.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.