lkml.org 
[lkml]   [2006]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [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 <pozsy@uhulinux.hu>

--- 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-08-21 10:59    [W:0.044 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site