lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20060821085553.GA19425@ojjektum.uhulinux.hu>
Date:	Mon, 21 Aug 2006 10:55:53 +0200
From:	Pozsar Balazs <pozsy@...linux.hu>
To:	Dmitry Torokhov <dtor@...ightbb.com>
Cc:	Bob Reinkemeyer <bigbob73@...rter.net>,
	linux-kernel@...r.kernel.org
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 <pozsy@...linux.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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ