[Spice-devel] Usb redirection

Jackson jyhyen at gmail.com
Mon Dec 17 19:05:28 PST 2012


And there is anther question. In the function "static gpointer 
spice_usb_device_manager_usb_ev_thread()", 
I use libusb_handle_events(context) to 
handle events, but I only receive data from server through the function 
"usbredir_read_callback()". 
After 60 secs, the client send data to server through 
"usbredir_write_callback()", so I use "libusb_handle_events_timeout_completed()" 
instead of "libusb_handle_events(").
And set the timeout, then it works. why?



More information about the Spice-devel mailing list