[Spice-devel] Endless loop after plugged out a usb device.

2014-12-25 Thread hustxyj
Hi all After I plugged out a usb device with interrupt endpoints, it stepped into a endless loop in usbredirhost_wait_for_cancel_completion. Since no event was caught by the libusb_handle_events_timeout and none of the pending transfers were completed. Thx! Yongjian Xu___

[Spice-devel] Dead lock in usbredir

2014-12-15 Thread hustxyj
Hi I met a dead lock in usbredir. When a device with interrupt endpoint was plugged in, the func usbredirhost_start_interrupt_receiving may be called, which locked the host first. Then submitted the transfer and call usbi_fd_notification, which called libusb_lock_events(ctx). Another thread "s

[Spice-devel] About Usbredir

2014-04-22 Thread hustxyj
Hi all: I met some problems about the spice-usbredirect. When I plugin a usb device , the usbclerk load the winUSB driver by default. However, the winUSB does not support multiple configuration device: https://github.com/libusb/libusb/wiki/Windows#known-restrictions. As I know, the libUsb-API s

[Spice-devel] A problem about spice usb-redir

2014-04-16 Thread hustxyj
Dear guys: These days I was trying to use spice to redirect a IPhone to my Guest OS. But on my Guest OS, the device, the driver was not installed properly after I have installed iTunes. I find that a IPhone has 4 configurations. So I wonder if the usb-redir protocol support multi-configurations de