linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Yao-Chung Chang <yaochung@cic.org.tw>
Cc: linux-input@vger.kernel.org
Subject: Re: about mouse lost synchronization
Date: Wed, 13 May 2009 19:56:09 -0700	[thread overview]
Message-ID: <20090514025609.GC9461@dtor-d630.eng.vmware.com> (raw)
In-Reply-To: <000001c9d39c$4baeb6f0$e30c24d0$@org.tw>

Hi,

On Wed, May 13, 2009 at 03:27:33PM +0800, Yao-Chung Chang wrote:
> Dear all
> 
> I've implemented a ps/2 serio driver that uses GPIO (two GPIO pins). Each 
> 
> bit is triggered by GPIO interrupt. When in console mode, GPM works
> 
> fine, and I can see the mouse cursor moves correctly. But When entering 
> 
> GUI, say QT or microwindows, the following messages occurred:
> 
> Mouse at xxxxx/serio0/input0 lost synchronization, throwing 1 bytes away.
> ..
> Mouse at xxxxx/serio0/input0 lost synchronization, throwing 1 bytes away.
> 
> Mouse at xxxxx/serio0/input0 lost synchronization, throwing 2 bytes away.
> 
> And the mouse cursor is floating and moves incorrectly. 
> 
> What is the criteria that kernel think the mouse packet is lost of sync.?
> 

When interrupts are delayed for too long the krenel thinks that it
missed a few bytes and complains.

-- 
Dmitry

      reply	other threads:[~2009-05-14  2:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-13  7:27 about mouse lost synchronization Yao-Chung Chang
2009-05-14  2:56 ` Dmitry Torokhov [this message]

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=20090514025609.GC9461@dtor-d630.eng.vmware.com \
    --to=dmitry.torokhov@gmail.com \
    --cc=linux-input@vger.kernel.org \
    --cc=yaochung@cic.org.tw \
    /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;
as well as URLs for NNTP newsgroup(s).