Re: [PATCH 2.6] Mousedev - better button handling under load
From: David Balazic
Date: Thu Jul 08 2004 - 08:27:51 EST
Hi,
Currently mousedev combines all hardware motion data that arrivers
since
last time userspace read data into one cooked PS/2 packet. The
problem is
that under heavy or even moderate load, when userspace can't read
data
quickly enough, we start loosing valuable data which manifests in:
- ignoring buton presses as by the time userspace gets to read the
data
button has already been released;
- click starts in wrong place - by the time userspace got aroungd
and read
the packet mouse moved half way across the screen.
I am seeing the second simptom on Fedora Core 2 in X.
( I click on a windows title, move the mouse and what happens is than a
selection rectangle is drawn on the desktop, starting a few inches away from
the real click position )
Is this the cause ?
Regards,
David
P.S.: Is there a bug about this in bugzilla.redhat.com ? ( or elsewhere ? )
----------------------------------------------------------------------------
-----------
http://noepatents.org/ Innovation, not litigation !
---
David Balazic mailto:david.balazic@xxxxxxxxx
HERMES Softlab http://www.hermes-softlab.com
Zagrebska cesta 104 Phone: +386 2 450 8851
SI-2000 Maribor
Slovenija
----------------------------------------------------------------------------
-----------
"Be excellent to each other." -
Bill S. Preston, Esq. & "Ted" Theodore Logan
----------------------------------------------------------------------------
-----------
-
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/