Skip to contentSkip to conversation

about mouse lost synchronization

DISCUSSION Yao-Chung Chang 2 participants 2 messages May 13, 2009 – May 14, 2009 HID

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

Hi,

Quoted 14 lines · Yao-Chung Chang

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.

Quoted 6 lines

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.

Signature · 1 line
Dmitry