Re: [PATCH] make psaux reconnect adjustable

Andries.Brouwer@cwi.nl
Tue, 14 Aug 2001 18:29:55 GMT


From Gunther.Mayer@t-online.de Tue Aug 14 19:10:40 2001

> I can confirm what you suggest:
> My mouse (Logitech wheel USB/PS2) sends indeed AA 00.
> So, I extended my patch:
> psmouse_reconnect = 0: Do nothing (just pass all to userspace)
> psmouse_reconnect = 1: Flush Q & ping mouse on AA 00 (default)
> psmouse_reconnect = 2: Flush Q & ping mouse on AA (old behaviour)
>
> With reconnect 1 or 2: After reconnecting, mouse behaves strange
> (jumping around the screen)

This is a serious bug in many user-space drivers. PS/2 mouse protocol
was designed to easily re-synchronize (think about transmission errors/
lost bytes).

The fragment of text you reply to is not about the 3-byte PS/2
protocol, but about the 4-byte wheelmouse protocol.
-
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/