Skip to contentSkip to conversation

Strange Mice Behavior

DISCUSSION Peter 4 participants 5 messages Mar 30, 2003 – Mar 31, 2003

lore
Share & tools
lore

Peter

author
#0 lore raw

Since I did not get any reply to my mail below I helped myself with putting the following 2 lines in /etc/profile:

gpm -k
gpm -t ps/2 -m /dev/mouse

Now the Kesington mouse works correctly on the console and in X, however the Benq mouse which BTW is a wheel mouse still goes crazy in X.

Is there a better way of getting the mice to work? Now I have first to open root to make the mouse work and when opening user I get the error message that I have no permission.

----------
Hi,

I recently bought a new mouse since the old one is graying. Both ps2 mice behave properly under RH7.3 on the console and in X.

In Slackware 8.0 each behaves differently. One, a Benq, functions correctly on the console, however, goes crazy in X, which then I have to abort with ctrl-alt-backspace. The other mouse, a Kensington, is the reverse. It does not work on the console, yet perfectly in X.

When I have started X with the Kensington mouse in SW8.0 and then change to the Benq mouse that one will then work in X.

Is there any explanation and could it be corrected and how?

Thanks & regards

Signature · 8 lines
Peter


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
#1 lore raw
Quoted 1 line · Peter

Since I did not get any reply to my mail below

Given the specificity of your first question (two specific mice, each identified by brand but not by model, and problems associated with one distro but not another), I'm not surprised that nobody here had sufficiently specific knowledge to be of help.

Quoted 8 lines

I helped myself with putting
the following 2 lines in /etc/profile:

gpm -k
gpm -t ps/2 -m /dev/mouse

Now the Kesington mouse works correctly on the console and in X, however the Benq mouse which BTW is a wheel mouse still goes crazy in X.

"goes crazy" is not a problem description. I'm guessing you mean that the pointer moves erratically on the screen rather than smoothly. (This reading is what underpins my second suggestion below.)

Quoted 3 lines

Is there a better way of getting the mice to work? Now I have first to open root to make the mouse work and when opening user I get the error message that I have no permission.

I can make a couple of suggestions, though they are still not specific to the details of your problem.

First, don't run gpm from /etc/profile. This approach tries to restart it each time a new user logs in. Only root can run gpm (as you know), and you don't even want root rerunning gpm all the time. If you need gpm running, do it from an init script.

Second, kill gpm before you startx. Conflicts between the gpm and X mouse drivers are old news. Unless one or the other has been tidied up recently, they will conflict sometimes, and there is no good way to predict when they will and will not play nice together.

don't know if you can get more specific help than that here. Although
I've used Kensington trackballs, I've never even heard of Benq mice. At the least, to get specific help, you're going to need to describe the specifics a bit better ... in each instance, whether gpm is running (and if it is, with what options), what X version and server is involved, and what the actual symptoms are. Even then, it's uncertain if anyone here will know what you need.

Quoted 11 lines

----------
Hi,

I recently bought a new mouse since the old one is graying. Both ps2 mice behave properly under RH7.3 on the console and in X.

In Slackware 8.0 each behaves differently. One, a Benq, functions correctly on the console, however, goes crazy in X, which then I have to abort with ctrl-alt-backspace. The other mouse, a Kensington, is the reverse. It does not work on the console, yet perfectly in X.

Quoted 7 lines

When I have started X with the Kensington mouse in SW8.0 and then change to the Benq mouse that one will then work in X.

Is there any explanation and could it be corrected and how?

Thanks & regards
--

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#2 lore raw
In reply to Peter
Quoted 6 lines · Peter

Since I did not get any reply to my mail below I helped myself with putting the following 2 lines in /etc/profile:

gpm -k
gpm -t ps/2 -m /dev/mouse

Quoted 6 lines

Now the Kesington mouse works correctly on the console and in X, however the Benq mouse which BTW is a wheel mouse still goes crazy in X.

Is there a better way of getting the mice to work? Now I have first to open root to make the mouse work and when opening user I get the error message that I have no permission.

Ray explained the details but, IMHO you should try using IMPS/2 with x for a wheel mouse, presuming the Benq (what ever that is) is a 3 button mouse, then try the following in your XF86Config(-4) file.

Section "InputDevice"

# Identifier and driver

Identifier "Mouse1"
Driver "mouse"
Option "Corepointer"
Option "Device" "/dev/psaux"
Option "Protocol" "IMPS/2"
Option "Buttons" "5"
Option "Emulate3Buttons" "off"
Option "ZAxisMapping" "4 5"

EndSection

The syntax is for XFree 4.x

If all esle fails goto;

www.xfree86.org

Signature · 9 lines
Regards Richard
[email protected]
http://people.zeelandnet.nl/pa3gcu/

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
author
#3 lore raw

Thanks Ray and Richard!

I followed Ray's advice and mouse BenQ Model M500 behaves now properly in SW8.0 on the console and in X and even that wheel which I didn't know what it was for works for scrolling, big deal.

With this new setting in XF86Config for the mouse the Kensington mouse is now the crazy one, meaning zipping erratically across the screen in X when touched and not reacting to the touch of a button. Since I want to use the BenQ mouse this is not anymore relevant

Remains the question why is there no such mice problem with RH7.3?

Regards

Signature · 7 lines
Peter

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
#4 lore raw
Quoted 7 lines · Peter

With this new setting in XF86Config for the mouse the Kensington mouse is now the crazy one, meaning zipping erratically across the screen in X when touched and not reacting to the touch of a button. Since I want to use the BenQ mouse this is not anymore relevant

Remains the question why is there no such mice problem with RH7.3?

I don't know about your actual setup, but i have two mice(one ADB one button apple mouse and usb logitech one) conected here. I use /dev/input/mice (using new input api with 2.4 kernel ) and i only have one mouse input entry in X config as ImPS/2 protocol device..everything works perfectly..

Maybe you would try that? Also when mouse cursor moves without control/buttons don't work, it usually means u are using the wrong protocol for the mouse data.

Signature · 6 lines
  Boris
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs