From: Dmitry Torokhov <dtor_core@ameritech.net>
To: Vojtech Pavlik <vojtech@suse.cz>
Cc: linux-kernel@vger.kernel.org, Andrew Morton <akpm@osdl.org>
Subject: Re: [PATCH 2.6] Mousedev - better button handling under load
Date: Sun, 6 Jun 2004 09:40:20 -0500 [thread overview]
Message-ID: <200406060940.21209.dtor_core@ameritech.net> (raw)
In-Reply-To: <20040606095843.GC1646@ucw.cz>
On Sunday 06 June 2004 04:58 am, Vojtech Pavlik wrote:
> On Sat, Jun 05, 2004 at 02:49:00AM -0500, Dmitry Torokhov 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.
> >
> > The patch below corrects the issue - it will start accumulating new packet
> > every time userspace is behind and button set changes. Size of the buffer
> > is 16 packets, i.e. up to 8 pairs of press/release events which should be
> > more than enough.
> >
> > The patch is against Vojtech's tree and shuld apply to -mm. I also have
> > cumulative mousedev patch done against 2.6.7-pre2 at:
> >
> > http://www.geocities.com/dt_or/input/misc/mousedev-2.6.7-rc2-cumulative.patch.gz
>
> Thanks for this. Can I just pull from your tree, or is there more that I
> shouldn't take?
>
I am exporting stuff to my bk tree on as-needed basis so there is nothing
extra (and no mousedev changes yet). Do you want button handling changes
only or you do also want tapping emulation exported?
--
Dmitry
next prev parent reply other threads:[~2004-06-06 14:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-05 7:49 [PATCH 2.6] Mousedev - better button handling under load Dmitry Torokhov
2004-06-06 9:58 ` Vojtech Pavlik
2004-06-06 14:40 ` Dmitry Torokhov [this message]
2004-06-06 16:02 ` Vojtech Pavlik
2004-06-06 16:49 ` Dmitry Torokhov
2004-06-06 17:16 ` Vojtech Pavlik
-- strict thread matches above, loose matches on Subject: below --
2004-07-08 13:25 David Balazic
2004-07-08 18:10 ` Dmitry Torokhov
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=200406060940.21209.dtor_core@ameritech.net \
--to=dtor_core@ameritech.net \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=vojtech@suse.cz \
/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