[Spice-devel] usb redirection

Damien Churchill damoxc at gmail.com
Wed Oct 26 06:32:42 PDT 2011


On 26 October 2011 13:23, Christophe Fergeau <cfergeau at redhat.com> wrote:
> On Wed, Oct 26, 2011 at 12:34:15PM +0100, Damien Churchill wrote:
>> I'm trying to test out usb redirection using a Windows guest. I have
>> disabled automounting however when I plug in a usb stick, I see:
>>
>> (spicy:10401): GSpice-DEBUG: usb-device-manager.c:600 connecting
>> device 0x1891430
>> (spicy:10401): GSpice-DEBUG: channel-usbredir.c:133 connecting usb
>> channel 0x16b4f20
>> (spicy:10401): GSpice-DEBUG: channel-usbredir.c:171 disconnecting usb
>> channel 0x16b4f20
>> libusb:error [calculate_timeout] failed to read monotonic clock, errno=22
>> (spicy:10401): GSpice-DEBUG: channel-usbredir.c:222 usbredirhost
>> error: could not get active configuration: -99
>> (spicy:10401): GSpice-DEBUG: channel-usbredir.c:234 usbredirhost:
>> cancelled 0 transfers on device close
>>
>> (spicy:10401): GSpice-WARNING **: Could not auto-redirect USB device
>> at 2-10: usbredirhost error: could not get active configuration: -99
>>
>> I'm guessing it's something down to the libusb error. I've tried
>> running spicy with LIBUSB_DEBUG=1 but didn't get any output from that.
>> I also tried compiling with --enable-debug-log and that also didn't
>> seem to produce any additional output.
>>
>> Does anyone have any suggestions?
>
> Could that be a permission issue accessing the USB device nodes?
>

I don't think so, I'm running both qemu-kvm and spicy as root.


More information about the Spice-devel mailing list