Re: Mouse stalls with 2.6.5-rc5-mm2

From: Dmitry Torokhov
Date: Sun Dec 11 2005 - 22:51:03 EST


On Sunday 11 December 2005 14:49, Jesper Juhl wrote:
> well, unplugging the mouse from the KVM and plugging it into the PC's
> PS/2 port directly resulted in this in dmesg :
>
> [ Â567.297724] psmouse.c: Explorer Mouse at isa0060/serio1/input0 lost
> synchronization, throwing 1 bytes away.
> [ Â567.807251] psmouse.c: resync failed, issuing reconnect request
> [ Â568.015721] logips2pp: Detected unknown logitech mouse model 87
>
> and after that I see no more resync failed messages and the mouse doesn't stall.
>

Ok, so your KVM fakes the response to POLL command. But normally
(with resync disabled) your mouse works just fine with your KVM,
you can still use wheel after switching between the boxes, right?
If so I will try adjusting my patch.

In the mean time could you please try the tiny patch below - it
shoudl get rid of "unknown logitech mouse" message. Could you send
me your dmesg after applying the patch?

Thanks!

--
Dmitry

Subject: logips2pp: add signature of MouseMan Wheel Mouse (87)

Input: logips2pp - add signature of MouseMan Wheel Mouse (87)

Signed-off-by: Dmitry Torokhov <dtor@xxxxxxx>
---

drivers/input/mouse/logips2pp.c | 1 +
1 files changed, 1 insertion(+)

Index: work/drivers/input/mouse/logips2pp.c
===================================================================
--- work.orig/drivers/input/mouse/logips2pp.c
+++ work/drivers/input/mouse/logips2pp.c
@@ -228,6 +228,7 @@ static struct ps2pp_info *get_model_info
{ 83, PS2PP_KIND_WHEEL, PS2PP_WHEEL },
{ 85, PS2PP_KIND_WHEEL, PS2PP_WHEEL },
{ 86, PS2PP_KIND_WHEEL, PS2PP_WHEEL },
+ { 87, PS2PP_KIND_WHEEL, PS2PP_WHEEL },
{ 88, PS2PP_KIND_WHEEL, PS2PP_WHEEL },
{ 96, 0, 0 },
{ 97, PS2PP_KIND_TP3, PS2PP_WHEEL | PS2PP_HWHEEL },
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/