Re: mouse problems in 2.4.2 -> lost byte

From: linas@linas.org
Date: Tue Mar 27 2001 - 15:45:51 EST


It's been rumoured that Gunther Mayer said:
>
> > I am experiencing debilitating intermittent mouse problems & was about
> ...
> > Symptoms:
> > After a long time of flawless operation (ranging from nearly a week to
> > as little as five minutes), the X11 pointer flies up to top-right corner,
> ^^^^^^^^^^^^^^^^
> > and mostly wants to stay there. Moving the mouse causes a cascade of
> > spurious button-press events get generated.
>
> This is easily explained: some byte of the mouse protocol was lost.

Bing!

That's it! This would also explain why gpm seems to work i.e. correctly
process the events, even when X11 can't. I will take this up on the
Xf86 lists ...

> (Some mouse protocols are even designed to allow
> easy resync/recovery by fixed bit patterns!)

This mouse seems to set every fourth byte to zero, which should allow
syncing ...
I'm still investigating to see if the kernel buffer is overflowing ...

--linas
-
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/



This archive was generated by hypermail 2b29 : Sat Mar 31 2001 - 21:00:17 EST