Click to See Complete Forum and Search --> : Mouse trouble in XFree86 4.0.1


chriswash
01-02-2001, 03:10 AM
I cannot get my mouse to work correctly in XFree86 4.0.1. I have recofigured it many times in many different ways, but it still doesn't work.

When I start XFree86, the mouse works fine, but after a minute or so it moves erratically usually to a corner and acts like multiple buttons have been pushed.

I have a microsoft wheel mouse and I am running Redhat 7.0.

Any help would be appreciated.

Thanks.

mdwatts
01-02-2001, 07:29 AM
This is what I use for mine.

Section "Pointer"
Protocol "IMPS/2"
Device "/dev/psaux"
Buttons 5
ZAxisMapping 4 5

EndSection

Manually edit /etc/XF86Config and make the changes then restart X.

chriswash
01-02-2001, 01:49 PM
I modified my XF86Config file, but it didn't work. I tried also modifying my XF86Config-4 file also, but still no luck.

Note: My XF86Config file looks different than yours. My mouse section is called input device not pointer.

My mouse portion of my XF86Config file looks like this:

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

My mouse section in my XF86Config-4 looks the same.

Any help would be great.

Strike
01-02-2001, 09:31 PM
Are you running gpm?

If so, either kill gpm when you start X (I don't like to do that as I use virtual consoles), or I figured out how to do it otherwise:

(note, I'm using gpm 1.19.3)
edit /etc/gpm.conf so that it reads:

device=/dev/psaux
responsiveness=
repeat_type=raw
type=imps2
append=""

then, in /etc/X11/XF86Config-4 change the mouse section to read:

Section "InputDevice"
Identifier "Generic Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/gpmdata"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
EndSection

And that should do it.


----edit----
took out a commented line that was used while testing this to get it to work

[This message has been edited by Strike (edited 02 January 2001).]

chriswash
01-03-2001, 05:34 PM
I do not have a /etc/gpm.conf file. All I have is a gpm-root.conf file and I am not sure where I should insert your suggestion.

Chris.

ironhd
01-04-2001, 03:37 AM
On Slack7.1, multiusr runlevel is rc.M in /etc/rc.d. To keep the gpm from starting, i commented out the lines referring to starting that server.

This is of course if you find the gpm server running.

Strike
01-04-2001, 06:38 AM
Well, if the format of the file you mentioned looks similar/identical to the one I posted above, then it is probably the same thing. If it's not, try just creating it and seeing if that fixes it.

If neither of those works, then just upgrade to 1.19.3 and then follow that procedure, and it should work.