[PATCH 2.6] Mousedev - better button handling under load

David Balazic david.balazic at hermes.si
Thu Jul 8 13:25:41 UTC 2004


	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 at hermes.si
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
----------------------------------------------------------------------------
-----------












More information about the fedora-list mailing list