Bug 1349481

Summary: USB auto-share not functional in Windows client
Product: Red Hat Enterprise Linux 8 Reporter: Radek Duda <rduda>
Component: spice-usbdk-winAssignee: Default Assignee for SPICE Bugs <rh-spice-bugs>
Status: CLOSED ERRATA QA Contact: SPICE QE bug list <spice-qe-bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: ---CC: astepano, bsanford, dblechte, dfleytma, gklein, lsurette, rbalakri, rduda, tpelka, uril
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: x86_64   
OS: Windows   
Whiteboard:
Fixed In Version: UsbDk v1.00-13 rhevm-spice-client-4.0-3 Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-23 20:53:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Spice RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Radek Duda 2016-06-23 14:04:13 UTC
Description of problem:
I can not automatically redirect USB flash drive.

Version-Release number of selected component (if applicable):
Client:
Windows 10 64bit
UsbDk 1.0.12
Guest:
rhel 6.8, rhel 7.2

How reproducible:always


Steps to Reproduce:
1.boot guest VM, install UsbDk to client
2.connect to guest VM with remote-viewer (USB auto-share enabled) and bring it into focus
3.connect USB device to client

Actual results:
USB device is not recognized by guest VM neither by client machine


Expected results:
USB device is recognized and mounted by guest VM


Additional info: nothing in spice-debug log, server log or vdagent log

Comment 1 Uri Lublin 2016-06-23 15:30:25 UTC
Is manual usbredir working (via the remote-viewer's
"File->Usb device selection" menu) ?

Comment 2 Radek Duda 2016-06-23 15:46:22 UTC
If I connect USB device to client when remote-viewer is out of focus, USB mounts properly to client machine and then I can successfully redirect USB device by "File->Usb device selection" menu to guest.
 
If I connect USB device when the remote-viewer is in the focus, the USB device is not detected by client (not in device manager) neither by guest (tried lsusb and dmesg with no avail) and is not present in "File->Usb device selection" remote-viewer menu.

Comment 3 Andrei Stepanov 2016-06-27 12:17:43 UTC
This bug is also extends to a case where a client is Windows 7 64 (with latest updates).

Comment 4 Dmitry Fleytman 2016-07-03 08:33:27 UTC
Fixed in UsbDk v1.00-13.

Comment 5 Radek Duda 2016-07-20 13:01:00 UTC
I have tested fixed version of UsbDk v1.00-14 and the auto-share USB feature worked for me flawlessly (guests rhel6.8, rhel 7.3, client Win8.1).

Comment 6 Andrei Stepanov 2016-07-22 12:45:04 UTC
As for: ovirt-engine-4.0.2-0.1.rc.el7ev.noarch

rhevm-spice-client-x64-msi-4.0-2.el7ev.noarch
rhevm-spice-client-x86-msi-4.0-2.el7ev.noarch

This bug is not fixed.

The bug is supposed to be fixed, only when RHEVM ships correct RPMs.

Comment 8 Andrei Stepanov 2016-07-27 07:50:26 UTC
*** Bug 1360472 has been marked as a duplicate of this bug. ***

Comment 11 errata-xmlrpc 2016-08-23 20:53:49 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2016-1681.html