From: Dmitry Torokhov <dtor@insightbb.com>
To: Peter Osterlund <petero2@telia.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Improve error recovery in serial mouse driver
Date: Fri, 16 Mar 2007 01:01:19 -0400 [thread overview]
Message-ID: <200703160101.20188.dtor@insightbb.com> (raw)
In-Reply-To: <m3k5xiqput.fsf@telia.com>
On Thursday 15 March 2007 15:16, Peter Osterlund wrote:
> If bytes get lost in the communication with a serial mouse using the
> MS protocol, the kernel driver could do a better job getting back in
> sync. The first byte in a packet has bit 6 set, and no other bytes
> have that bit set. Therefore, if a byte is received with bit 6 cleared
> when the driver thinks it is at byte 0 in the packet, the driver thinks
> wrong and the byte should just be ignored.
>
> This fix prevents spurious left/right button events when the serial
> communication is disturbed by a CPU-hungry real-time process.
>
> Signed-off-by: Peter Osterlund <petero2@telia.com>
Applied, thank you Peter.
--
Dmitry
next prev parent reply other threads:[~2007-03-16 5:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-15 19:16 [PATCH] Improve error recovery in serial mouse driver Peter Osterlund
2007-03-16 5:01 ` Dmitry Torokhov [this message]
2007-03-16 19:22 ` Chuck Ebbert
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=200703160101.20188.dtor@insightbb.com \
--to=dtor@insightbb.com \
--cc=linux-kernel@vger.kernel.org \
--cc=petero2@telia.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.