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? _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel