[Spice-devel] USB redirection on W10 does not work (USB2 and USB3)

Yuri Benditovich yuri.benditovich at daynix.com
Tue Apr 25 16:00:20 UTC 2017


Hi Oscar,

Can you please also submit to the bug exact qemu command-line for Win10
guest, for example output of "ps ax | grep qemu".
Is it possible that your guest system does not have USB2 controller?

Thanks
Yuri

On Tue, Apr 25, 2017 at 6:40 PM, Oscar Segarra <oscar.segarra at gmail.com>
wrote:

> Sorry but I don't know how to do it... I have installed vistual studio in
> guest and the WDK... but I don't know how to check it...
>
> Is there any detailed step by step document that I can follow to debug the
> driver?
>
> Thanks a lot.
>
> 2017-04-25 17:37 GMT+02:00 Victor Toso <lists at victortoso.com>:
>
>> Hi,
>>
>> On Mon, Apr 24, 2017 at 11:34:07PM +0200, Oscar Segarra wrote:
>> > Hi, bug opened!
>>
>> Bug is: https://bugs.freedesktop.org/show_bug.cgi?id=100778
>>
>> Debug says:
>>
>> GSpice-DEBUG: src/usbdk_api.c:62 UsbDk driver is installed.
>> GSpice-DEBUG: src/usbdk_api.c:86 Loading UsbDk API DLL
>> GSpice-DEBUG: src/usb-device-manager.c:528 auto-connect filter set to
>> 0x03,-1,-1,-1,0|-1,-1,-1,-1,1
>> GSpice-DEBUG: src/usb-device-manager.c:2196 Auto-connect disabled, no
>> hider setup needed
>> GSpice-DEBUG: src/usb-device-manager.c:1013 device added 0b05:179c
>> (0000000008274840)
>> GSpice-DEBUG: src/usb-device-manager.c:1013 device added 1bcf:0823
>> (00000000082743A0)
>> GSpice-DEBUG: src/usb-device-manager.c:1013 device added 04b4:f02f
>> (0000000008274540)
>> GSpice-DEBUG: src/usb-device-manager.c:1013 device added 054c:05ba
>> (0000000008276320)
>> GSpice-DEBUG: src/usb-device-manager.c:1013 device added 048d:1366
>> (0000000008276260)
>> GSpice-DEBUG: src/usb-device-manager.c:1013 device added 0a12:0001
>> (0000000008276800)
>>
>> It seems sane enough. It would be great to have the UsbDk debug that I
>> asked too ;)
>>
>> Cheers,
>>
>> >
>> > Thanks a lot!
>> >
>> > 2017-04-24 8:10 GMT+02:00 Victor Toso <victortoso at redhat.com>:
>> >
>> > > Hi,
>> > >
>> > > On Mon, Apr 24, 2017 at 07:47:35AM +0200, Oscar Segarra wrote:
>> > > > Hi Victor,
>> > > >
>> > > > thanks for your quick answer:
>> > > >
>> > > > Can you confirm that you are using virt-viewer 5.0?
>> > > > Yes
>> > > >
>> > > > Which kind of device are you trying? Was there any kind of device
>> you
>> > > > were able to successfully redirect?
>> > > >
>> > > > I'm trying to redirect a standard pen drive (jus storage). I have
>> been
>> > > able
>> > > > to successfully redirect my headset (
>> > > > https://steelseries.com/gaming-headsets/siberia-350). I have tried
>> with
>> > > > multiple pen-drives but no one works on the guest (they work
>> properly in
>> > > > the client).
>> > >
>> > > Interesting. Maybe they are mounted in the client OS and UsbDK is
>> unable
>> > > to unmount them before redirecting?
>> > >
>> > > Could you run virt-viewer from command-line with --spice-debug option
>> > > and file a bug at [0] with it attached? It would also be helpful to
>> > > gather logs from UsbDk side - for that you can follow items 1,2,3 from
>> > > [1] (it is a different bug)
>> > >
>> > > [0] https://bugs.freedesktop.org/enter_bug.cgi?product=Spice
>> > > [1] https://bugzilla.redhat.com/show_bug.cgi?id=1301088#c2
>> > >
>> > > Cheers,
>> > >
>> > > >
>> > > > Thanks a lot.
>> > > >
>> > > > 2017-04-24 7:34 GMT+02:00 Victor Toso <victortoso at redhat.com>:
>> > > >
>> > > > > Hi,
>> > > > >
>> > > > > On Sun, Apr 23, 2017 at 11:32:43PM +0200, Oscar Segarra wrote:
>> > > > > > Hi,
>> > > > > >
>> > > > > > In my environmet I have a W10 client and a W10 guest but in
>> spite of
>> > > > > > the installation of the latest available filter driver
>> > > > > > UsbDk_1.0.19_x64.msi the USB redirection does not work yet.
>> > > > >
>> > > > > Can you confirm that you are using virt-viewer 5.0?
>> > > > > >
>> > > > > > I have tried with an USB2 and USB3 but I get the following
>> messages
>> > > in
>> > > > > the
>> > > > > > W10 guest:
>> > > > > >
>> > > > > > *USB2*
>> > > > > >
>> > > > > > [image: Imágenes integradas 2]
>> > > > > >
>> > > > > > My translation: "USB Storage device has a problem with the
>> driver"
>> > > > > >
>> > > > > > [image: Imágenes integradas 3]
>> > > > > >
>> > > > > > *USB3*
>> > > > > >
>> > > > > > [image: Imágenes integradas 1]
>> > > > > >
>> > > > > > My translation: "Unkown USB device (Device descritor not
>> valida) it
>> > > does
>> > > > > > not work correctly"
>> > > > >
>> > > > > Which kind of device are you trying? Was there any kind of device
>> you
>> > > > > were able to successfully redirect?
>> > > > >
>> > > > > >
>> > > > > > Anybody has experienced the same issue?
>> > > > > >
>> > > > > > Thanks a lot.
>> > > > >
>> > > > > I tested in win7 only in the past, with both webcam and bulk
>> device
>> > > (usb
>> > > > > 2.0 only but it should work with usb 3.0 for windows client too).
>> > > > >
>> > > > > If you were not able to redirect anything so far, maybe it is
>> worth to
>> > > > > try by restarting your client machine with driver signature
>> enforcement
>> > > > > disabled (a menu on boot by pressing F8 or F9, IIRC).
>> > > > >
>> > > > > Let us know the results ;)
>> > > > >
>> > > > > Cheers,
>> > > > >
>> > > > > > _______________________________________________
>> > > > > > Spice-devel mailing list
>> > > > > > Spice-devel at lists.freedesktop.org
>> > > > > > https://lists.freedesktop.org/mailman/listinfo/spice-devel
>> > > > >
>> > > > >
>> > >
>> > >
>> > >
>>
>> > _______________________________________________
>> > Spice-devel mailing list
>> > Spice-devel at lists.freedesktop.org
>> > https://lists.freedesktop.org/mailman/listinfo/spice-devel
>>
>>
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20170425/f7ec376a/attachment.html>


More information about the Spice-devel mailing list