[PATCH] Input: psmouse - disable autoresync
authorDmitry Torokhov <dtor_core@ameritech.net>
Sat, 11 Mar 2006 05:23:38 +0000 (00:23 -0500)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 11 Mar 2006 06:09:33 +0000 (22:09 -0800)
Automatic resynchronization in psmouse driver causes problems on some
hardware so disable it by default for now. People with KVM switches
that require resync can still enable it via module parameter or sysfs
attribute.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/input/mouse/psmouse-base.c

index 19b1b01..ad62174 100644 (file)
@@ -58,7 +58,7 @@ static unsigned int psmouse_resetafter = 5;
 module_param_named(resetafter, psmouse_resetafter, uint, 0644);
 MODULE_PARM_DESC(resetafter, "Reset device after so many bad packets (0 = never).");
 
-static unsigned int psmouse_resync_time = 5;
+static unsigned int psmouse_resync_time;
 module_param_named(resync_time, psmouse_resync_time, uint, 0644);
 MODULE_PARM_DESC(resync_time, "How long can mouse stay idle before forcing resync (in seconds, 0 = never).");