2006-08-16 20:28:02

by Bob Reinkemeyer

[permalink] [raw]
Subject: [bug] Mouse jumps randomly in x kernel 2.6.18

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

thanks,

Bob Reinkemeyer


2006-08-16 20:55:21

by Jesper Juhl

[permalink] [raw]
Subject: Re: [bug] Mouse jumps randomly in x kernel 2.6.18

On 16/08/06, Bob Reinkemeyer <[email protected]> wrote:
> 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 ?


--
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

2006-08-17 16:37:54

by Andrew Brukhov

[permalink] [raw]
Subject: Re: [bug] Mouse jumps randomly in x kernel 2.6.18

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

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

2006-08-17 18:38:55

by Dmitry Torokhov

[permalink] [raw]
Subject: Re: [bug] Mouse jumps randomly in x kernel 2.6.18

On 8/16/06, Bob Reinkemeyer <[email protected]> wrote:
> 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

--
Dmitry

2006-08-18 02:38:55

by Bob Reinkemeyer

[permalink] [raw]
Subject: Re: [bug] Mouse jumps randomly in x kernel 2.6.18



Dmitry Torokhov wrote:
> On 8/16/06, Bob Reinkemeyer <[email protected]> wrote:
>> 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
>
>

that fixed it. Thanks!

2006-08-19 20:35:59

by Pozsar Balazs

[permalink] [raw]
Subject: Re: [bug] Mouse jumps randomly in x kernel 2.6.18

On Thu, Aug 17, 2006 at 09:38:50PM -0500, Bob Reinkemeyer wrote:
>
>
> Dmitry Torokhov wrote:
> >On 8/16/06, Bob Reinkemeyer <[email protected]> wrote:
> >>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
> >
> >
>
> 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);



--
pozsy

2006-08-20 23:23:09

by Bob Reinkemeyer

[permalink] [raw]
Subject: Re: [bug] Mouse jumps randomly in x kernel 2.6.18

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

Bob

Pozsar Balazs wrote:
> On Thu, Aug 17, 2006 at 09:38:50PM -0500, Bob Reinkemeyer wrote:
>>
>> Dmitry Torokhov wrote:
>>> On 8/16/06, Bob Reinkemeyer <[email protected]> wrote:
>>>> 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
>>>
>>>
>> 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);
>
>
>

2006-08-21 01:52:20

by Dmitry Torokhov

[permalink] [raw]
Subject: Re: [bug] Mouse jumps randomly in x kernel 2.6.18

On Sunday 20 August 2006 19:23, Bob Reinkemeyer wrote:
> 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.

> Pozsar Balazs wrote:
> > On Thu, Aug 17, 2006 at 09:38:50PM -0500, Bob Reinkemeyer wrote:
> >>
> >> Dmitry Torokhov wrote:
> >>> On 8/16/06, Bob Reinkemeyer <[email protected]> wrote:
> >>>> 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
> >>>
> >>>
> >> 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);
> >
> >
> >
>

--
Dmitry

2006-08-21 08:56:01

by Pozsar Balazs

[permalink] [raw]
Subject: Re: [bug] Mouse jumps randomly in x kernel 2.6.18

On Sun, Aug 20, 2006 at 09:52:03PM -0400, Dmitry Torokhov wrote:
> On Sunday 20 August 2006 19:23, Bob Reinkemeyer wrote:
> > 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...


Signed-off-by: Pozsar Balazs <[email protected]>

--- a/drivers/input/mouse/psmouse-base.c 2006-08-21 10:46:20.000000000 +0200
+++ b/drivers/input/mouse/psmouse-base.c 2006-08-21 10:46:26.000000000 +0200
@@ -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);


--
pozsy

2006-08-21 22:35:41

by Bob Reinkemeyer

[permalink] [raw]
Subject: Re: [bug] Mouse jumps randomly in x kernel 2.6.18

On Sunday 20 August 2006 20:52, you wrote:
> On Sunday 20 August 2006 19:23, Bob Reinkemeyer wrote:
> > 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.
>
> > Pozsar Balazs wrote:
> > > On Thu, Aug 17, 2006 at 09:38:50PM -0500, Bob Reinkemeyer wrote:
> > >> Dmitry Torokhov wrote:
> > >>> On 8/16/06, Bob Reinkemeyer <[email protected]> wrote:
> > >>>> 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
> > >>
> > >> 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);