Skip to contentSkip to conversation

Mouse jumps randomly in x kernel 2.6.18

bug Bob Reinkemeyer 6 participants 10 messages Aug 16, 2006 – Aug 21, 2006 Input drivers

lore
Share & tools
lore
#1 lore raw
Quoted 9 lines · Bob Reinkemeyer

I have an issue where my mouse jumps around the screen randomly in X only. It works correctly in a vnc window. The mouse is a Microsoft wireless optical intellimouse. This was tested in 2.6.18-rc1-rc4 and observed in all. my config for .18 can be found here...
http://rafb.net/paste/results/5cyWFd48.html

and for .17 here...
http://rafb.net/paste/results/xdFUkU58.html

I take it it works correctly in 2.6.17 ?

Signature · 3 lines
Jesper Juhl <[email protected]>
Don't top-post  http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please      http://www.expita.com/nomime.html
#2 lore raw

my mouse sometime going jumps too.
Mouse Genius NetScroll+
kernel 2.6.17.8

--------------
Andrew Brukhov

maintainer
#3 lore raw
In reply to Bob Reinkemeyer
Quoted 9 lines · Bob Reinkemeyer

I have an issue where my mouse jumps around the screen randomly in X only. It works correctly in a vnc window. The mouse is a Microsoft wireless optical intellimouse. This was tested in 2.6.18-rc1-rc4 and observed in all. my config for .18 can be found here...
http://rafb.net/paste/results/5cyWFd48.html

and for .17 here...
http://rafb.net/paste/results/xdFUkU58.html

Does it help if you revert this patch:

http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b0c9ad8e0ff154f8c4730b8c4383f49b846c97c4

Signature · 1 line
Dmitry
#4 lore raw
Quoted 7 lines · Dmitry Torokhov
Quoted 6 lines · Bob Reinkemeyer

I have an issue where my mouse jumps around the screen randomly in X only. It works correctly in a vnc window. The mouse is a Microsoft wireless optical intellimouse. This was tested in 2.6.18-rc1-rc4 and observed in all. my config for .18 can be found here...
http://rafb.net/paste/results/5cyWFd48.html

Quoted 9 lines
Quoted 3 lines

and for .17 here...
http://rafb.net/paste/results/xdFUkU58.html

Does it help if you revert this patch:

http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b0c9ad8e0ff154f8c4730b8c4383f49b846c97c4

that fixed it. Thanks!

#5 lore raw
Quoted 14 lines · Bob Reinkemeyer
Quoted 11 lines · Dmitry Torokhov
Quoted 9 lines · Bob Reinkemeyer

I have an issue where my mouse jumps around the screen randomly in X only. It works correctly in a vnc window. The mouse is a Microsoft wireless optical intellimouse. This was tested in 2.6.18-rc1-rc4 and observed in all. my config for .18 can be found here...
http://rafb.net/paste/results/5cyWFd48.html

and for .17 here...
http://rafb.net/paste/results/xdFUkU58.html

Quoted 7 lines
Quoted 5 lines

Does it help if you revert this patch:

http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b0c9ad8e0ff154f8c4730b8c4383f49b846c97c4

that fixed it. Thanks!

Could you try only reverting this part please?

+ param[0] = 200;
+ ps2_command(ps2dev, param, PSMOUSE_CMD_SETRATE);
+ param[0] = 200;
+ ps2_command(ps2dev, param, PSMOUSE_CMD_SETRATE);
+ param[0] = 60;
+ ps2_command(ps2dev, param, PSMOUSE_CMD_SETRATE);

Signature · 1 line
pozsy
#6 lore raw

just to be clear, is this all you want to revert, or do you want all similar fuctions reverted?

Bob

Quoted 32 lines · Pozsar Balazs
Quoted 12 lines · Bob Reinkemeyer
Quoted 10 lines · Dmitry Torokhov
Quoted 9 lines · Bob Reinkemeyer

I have an issue where my mouse jumps around the screen randomly in X only. It works correctly in a vnc window. The mouse is a Microsoft wireless optical intellimouse. This was tested in 2.6.18-rc1-rc4 and observed in all. my config for .18 can be found here...
http://rafb.net/paste/results/5cyWFd48.html

and for .17 here...
http://rafb.net/paste/results/xdFUkU58.html

Quoted 6 lines
Quoted 5 lines

Does it help if you revert this patch:

http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b0c9ad8e0ff154f8c4730b8c4383f49b846c97c4

that fixed it. Thanks!

Could you try only reverting this part please?

+ param[0] = 200;
+ ps2_command(ps2dev, param, PSMOUSE_CMD_SETRATE);
+ param[0] = 200;
+ ps2_command(ps2dev, param, PSMOUSE_CMD_SETRATE);
+ param[0] = 60;
+ ps2_command(ps2dev, param, PSMOUSE_CMD_SETRATE);

#7 lore raw
Quoted 3 lines · Bob Reinkemeyer

just to be clear, is this all you want to revert, or do you want all similar fuctions reverted?

Just the part Poszar quoted - we have a report from another user that removing only 2nd part of the explorer 4.0 magic knock cures mouse jumpiness.

Quoted 34 lines
Quoted 32 lines · Pozsar Balazs
Quoted 12 lines · Bob Reinkemeyer
Quoted 10 lines · Dmitry Torokhov
Quoted 9 lines · Bob Reinkemeyer

I have an issue where my mouse jumps around the screen randomly in X only. It works correctly in a vnc window. The mouse is a Microsoft wireless optical intellimouse. This was tested in 2.6.18-rc1-rc4 and observed in all. my config for .18 can be found here...
http://rafb.net/paste/results/5cyWFd48.html

and for .17 here...
http://rafb.net/paste/results/xdFUkU58.html

Quoted 6 lines
Quoted 5 lines

Does it help if you revert this patch:

http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b0c9ad8e0ff154f8c4730b8c4383f49b846c97c4

that fixed it. Thanks!

Could you try only reverting this part please?

+ param[0] = 200;
+ ps2_command(ps2dev, param, PSMOUSE_CMD_SETRATE);
+ param[0] = 200;
+ ps2_command(ps2dev, param, PSMOUSE_CMD_SETRATE);
+ param[0] = 60;
+ ps2_command(ps2dev, param, PSMOUSE_CMD_SETRATE);

Signature · 1 line
Dmitry
#8 lore raw
Quoted 8 lines · Dmitry Torokhov
Quoted 3 lines · Bob Reinkemeyer

just to be clear, is this all you want to revert, or do you want all similar fuctions reverted?

Just the part Poszar quoted - we have a report from another user that removing only 2nd part of the explorer 4.0 magic knock cures mouse jumpiness.

Here's the patch to revert the superfluous initilization. Horizontal scrolling still works on my instellimouse 4.0 thanks to the first (kept) part of the init seq, and it hopefully cures the jumpiness.

ps: I wonder how the windows driver manages not to go jumpy...

drivers/input/mouse/psmouse-base.c +0 -7
@@ -485,13 +485,6 @@
 	param[0] =  40;
 	ps2_command(ps2dev, param, PSMOUSE_CMD_SETRATE);
 
-	param[0] = 200;
-	ps2_command(ps2dev, param, PSMOUSE_CMD_SETRATE);
-	param[0] = 200;
-	ps2_command(ps2dev, param, PSMOUSE_CMD_SETRATE);
-	param[0] =  60;
-	ps2_command(ps2dev, param, PSMOUSE_CMD_SETRATE);
-
 	if (set_properties) {
 		set_bit(BTN_MIDDLE, psmouse->dev->keybit);
 		set_bit(REL_WHEEL, psmouse->dev->relbit);
Signature · 1 line
pozsy
#9 lore raw
In reply to Dmitry Torokhov
Quoted 7 lines · you
Quoted 2 lines · Bob Reinkemeyer

just to be clear, is this all you want to revert, or do you want all similar fuctions reverted?

Just the part Poszar quoted - we have a report from another user that removing only 2nd part of the explorer 4.0 magic knock cures mouse jumpiness.

This worked as well. Tested in vanilla, a ck based, and an mm based kernel. worked well in all.

Quoted 29 lines
Quoted 29 lines
Quoted 27 lines · Pozsar Balazs
Quoted 11 lines · Bob Reinkemeyer
Quoted 10 lines · Dmitry Torokhov
Quoted 8 lines · Bob Reinkemeyer

I have an issue where my mouse jumps around the screen randomly in X only. It works correctly in a vnc window. The mouse is a Microsoft wireless optical intellimouse. This was tested in 2.6.18-rc1-rc4 and observed in all. my config for .18 can be found here...
http://rafb.net/paste/results/5cyWFd48.html

and for .17 here...
http://rafb.net/paste/results/xdFUkU58.html

Quoted 6 lines
Quoted 4 lines

Does it help if you revert this patch:

http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;
a=commit;h=b0c9ad8e0ff154f8c4730b8c4383f49b846c97c4

that fixed it. Thanks!

Could you try only reverting this part please?

+ param[0] = 200;
+ ps2_command(ps2dev, param, PSMOUSE_CMD_SETRATE);
+ param[0] = 200;
+ ps2_command(ps2dev, param, PSMOUSE_CMD_SETRATE);
+ param[0] = 60;
+ ps2_command(ps2dev, param, PSMOUSE_CMD_SETRATE);