LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 07-20-2002, 01:21 PM   #1
natethebate
LQ Newbie
 
Registered: Aug 2000
Posts: 9

Rep: Reputation: 0
Arrow 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:

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

/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.
 
Old 07-20-2002, 02:56 PM   #2
bax
Member
 
Registered: Dec 2001
Location: NoVA
Distribution: Ubuntu, Solaris, OpenBSD
Posts: 492

Rep: Reputation: 30
Is it optical?
 
Old 07-20-2002, 07:46 PM   #3
natethebate
LQ Newbie
 
Registered: Aug 2000
Posts: 9

Original Poster
Rep: Reputation: 0
No, it is not optical. The mouse came with my Dell Dimension 4100.

Last edited by natethebate; 07-20-2002 at 09:16 PM.
 
Old 07-21-2002, 02:01 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
When you switch to the console do you have to login, or is it simply switch and switch back and it works?
 
Old 07-21-2002, 02:34 AM   #5
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
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
 
Old 07-21-2002, 09:07 AM   #6
natethebate
LQ Newbie
 
Registered: Aug 2000
Posts: 9

Original Poster
Rep: Reputation: 0
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.
 
Old 07-21-2002, 05:41 PM   #7
natethebate
LQ Newbie
 
Registered: Aug 2000
Posts: 9

Original Poster
Rep: Reputation: 0
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):

MOUSETYPE=exps2
XMOUSETYPE=IMPS/2
FULLNAME="PS/2|Generic PS2 Wheel Mouse"
XEMU3=no
WHEEL=yes
device=psaux

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.
 
Old 07-23-2002, 07:34 PM   #8
natethebate
LQ Newbie
 
Registered: Aug 2000
Posts: 9

Original Poster
Rep: Reputation: 0
In summary...

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.

nate
 
Old 07-24-2002, 08:57 PM   #9
jetblackz
Member
 
Registered: Mar 2002
Location: Debian Galaxy
Distribution: Debian
Posts: 711

Rep: Reputation: 30
FWIW, Mandrake install jumps your mouse. The user has to move the mouse, scroll wheel & click all buttons a while before Mandrake recognizes it.

It doesn't happen to other distro installs.
 
  


Reply



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
[Ubuntu] Problems setting Microsoft Intellimouse mouse and network pocetnik Linux - Software 0 11-25-2005 01:38 PM
xmodmap and 7 button Intellimouse wheel Pengus Linux - Hardware 5 11-05-2005 09:01 AM
Microsoft Intellimouse wheel/Optical USB (5 Buttons) barabus Linux - Hardware 2 06-14-2005 10:29 PM
Microsoft Intellimouse Explorer(USB) problems mymojo Linux - Newbie 3 12-13-2003 11:21 AM
MS Intellimouse Optical--No Wheel mooreted Slackware 11 08-13-2003 08:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:23 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
Open Source Consulting | Domain Registration