On Thu, Oct 30, 2008 at 03:51:19PM +0530, Harinandan S wrote:
> Hi All,
> 
> I'm using DirectFB 1.1.1 and USB mouse with linux input driver. When I
> disconnect USB mouse and reconnect it in the middle of my GTK application
> running over DirectFB, the mouse stops responding.
> 
> I notice that linux kernel is able to recognize that mouse is inserted and
> starts to send events but my GTK application running on top of DirectFB
> simply doesnt respond. Is there anything I need to do to overcome this
> problem?

The fix would involve implementing input device hotplug support in DirectFB
core and the linux_input driver. I was thinking about the same issue a
while back and my idea was to avoid hal/dbus and instead use inotify for the
hot plug/unplug detection. But that's just the simple part and the more
difficult part is making sure the core input device code can handle
devices appearing and disappearing.

-- 
Ville Syrjälä
[EMAIL PROTECTED]
http://www.sci.fi/~syrjala/
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to