All of lore.kernel.org
 help / color / mirror / Atom feed
* about mouse lost synchronization
@ 2009-05-13  7:27 Yao-Chung Chang
  2009-05-14  2:56 ` Dmitry Torokhov
  0 siblings, 1 reply; 2+ messages in thread
From: Yao-Chung Chang @ 2009-05-13  7:27 UTC (permalink / raw)
  To: linux-input

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.?

                                        Regards,
                                                ycchang
 

__________ Information from ESET NOD32 Antivirus, version of virus signature
database 4069 (20090512) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: about mouse lost synchronization
  2009-05-13  7:27 about mouse lost synchronization Yao-Chung Chang
@ 2009-05-14  2:56 ` Dmitry Torokhov
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2009-05-14  2:56 UTC (permalink / raw)
  To: Yao-Chung Chang; +Cc: linux-input

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-05-14  2:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-13  7:27 about mouse lost synchronization Yao-Chung Chang
2009-05-14  2:56 ` Dmitry Torokhov

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.