From: Dmitry Torokhov <dtor_core@ameritech.net>
To: David Balazic <david.balazic@hermes.si>
Cc: linux-kernel@vger.kernel.org, fedora-list@redhat.com
Subject: Re: [PATCH 2.6] Mousedev - better button handling under load
Date: Thu, 8 Jul 2004 13:10:29 -0500 [thread overview]
Message-ID: <200407081310.29997.dtor_core@ameritech.net> (raw)
In-Reply-To: <600B91D5E4B8D211A58C00902724252C035F1F18@piramida.hermes.si>
On Thursday 08 July 2004 08:25 am, David Balazic wrote:
> 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 ?
>
Yes, I think it is. If userspace is behind then mousedev will continue
accumulating displacements after noticing click and when userspace finally
gets around to read the packet it looks like click was at the current
displacement point.
> Regards,
> David
>
> P.S.: Is there a bug about this in bugzilla.redhat.com ? ( or elsewhere ? )
Not that I know of...
--
Dmitry
next prev parent reply other threads:[~2004-07-08 18:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-08 13:25 [PATCH 2.6] Mousedev - better button handling under load David Balazic
2004-07-08 18:10 ` Dmitry Torokhov [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-06-05 7:49 Dmitry Torokhov
2004-06-06 9:58 ` Vojtech Pavlik
2004-06-06 14:40 ` Dmitry Torokhov
2004-06-06 16:02 ` Vojtech Pavlik
2004-06-06 16:49 ` Dmitry Torokhov
2004-06-06 17:16 ` Vojtech Pavlik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200407081310.29997.dtor_core@ameritech.net \
--to=dtor_core@ameritech.net \
--cc=david.balazic@hermes.si \
--cc=fedora-list@redhat.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox