[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#571604: keyboard broken in X server, mouseemu related?



On Sat, Feb 27, 2010 at 12:07:48PM +0100, Julien Cristau wrote:
> On Fri, Feb 26, 2010 at 23:01:55 +1100, David Wlazlo wrote:
> > "Mouseemu virtual keyboard": dropping event due to full queue!
> 
> Your X log has a lot of such messages.  Do things work better if you
> disable/uninstall mouseemu?
> 
> From a quick look at its sources, it looks like mouseemu never sends
> EV_SYN events to the kernel for its keyboard device, and the evdev X
> driver expects those before it sends any events to the X server.  I'm
> not sure which is buggy here.

mouseemu.

EV_SYN marks the end of an event, so if the device never send one that's
buggy. especially with multitouch support in the kernel now, EV_SYN is even
more important as each event may contain multiple sub-events.


> mouseemu does ioctl(ui_mouse_fd, UI_SET_EVBIT, EV_SYN); but it does no
> such thing for its kbd device, so maybe xf86-input-evdev should test
> this bit instead of unconditionally waiting for EV_SYN.  Peter?

yeah, that'd make sense in principle (though not on this devices if I look
at the followups ;) but then again - I don't know of any other devices where
this is the case.

Cheers,
  Peter



Reply to: