[Spice-devel] win 7 terminal recognize usb as libusbx devicewhen exiting usb redirect

陈晴 chenqing at sanlogic.com
Wed Oct 22 20:11:06 PDT 2014


On 10/22/2014 04:40 AM, 陈晴 wrote:
> hi, all:
> environment:
>     terminal: win 7
>     guest: win 7
>     usb redirect: usb clerk (provided by Cody Chan)
>     usb device: kinston data traveller 8G
>                     teclast 16G (use correctly)
>                     usb harddisk (use correctly)
>
> following is my steps to use kinston usb storage:
>  1.connect usb to terminal, recognize as: mass storage device
>  2.use virt-viewer to connect to guest, usb device is successfully 
> redirected
>  3.disconnect from guest
>  4.back to terminal, usb device recognize as "universal serial bus 
> device" whose driver is libusbx, and oemxx.inf generated in 
> windows/system32/inf
> (something happened in this step make win 7 to choose libusbx as its 
> driver)

Hi,

Seems like a usbclerk problem ==> not removing the WinUSB driver upon 
client distconnect
- What are the versions of usbclerk, virt-viewer ?
----------------------------------------------------------------------
virt-viewer 0.5.7,  the version of usbclerk  not clear (cody provides)
----------------------------------------------------------------------
- Anything interesting in usbclerk's log (try at 
c:\windows\temp\usbclerk.log) ?
----------------------------------------------------------------------
3608::INFO::2014-10-23 10:31:32,719::USBClerk::dispatch_message::Installing winusb driver for 0930:6544
3608::INFO::2014-10-23 10:31:32,735::USBClerk::install_winusb_driver::Looking for device vid:pid 0930:6544
3608::INFO::2014-10-23 10:31:32,735::USBClerk::install_winusb_driver::Device 0930:6544 found
3608::INFO::2014-10-23 10:31:32,735::USBClerk::install_winusb_driver::Installing driver for USB device: "DataTraveler 2.0" (0930:6544) inf: usb_device_0930_6544.inf
3608::INFO::2014-10-23 10:31:37,802::USBClerk::dispatch_message::Completed successfully
3608::INFO::2014-10-23 10:31:48,793::USBClerk::remove_winusb_driver::WinUSB driver is not installed
****correct log is:
960::INFO::2014-10-23 10:36:11,585::USBClerk::dispatch_message::Installing winusb driver for 1f75:0916
960::INFO::2014-10-23 10:36:11,601::USBClerk::install_winusb_driver::Looking for device vid:pid 1f75:0916
960::INFO::2014-10-23 10:36:11,601::USBClerk::install_winusb_driver::Device 1f75:0916 found
960::INFO::2014-10-23 10:36:11,601::USBClerk::install_winusb_driver::Installing driver for USB device: "" (1f75:0916) inf: usb_device_1f75_0916.inf
960::INFO::2014-10-23 10:36:16,069::USBClerk::dispatch_message::Completed successfully
960::INFO::2014-10-23 10:36:36,389::USBClerk::remove_winusb_driver::Removing 1f75:0916
960::INFO::2014-10-23 10:36:36,436::USBClerk::uninstall_inf::Uninstalling inf: C:\Windows\INF\oem22.inf


****(**1. teclast usb device recognize as an unknown "universal serial bus device", but kinston is correctly recognize as itself
            2.oem22.inf is similar to inf i've posted except the section "strings")
----------------------------------------------------------------------
- Older versions of usbclerk did not remove the driver upon client 
disconnect, can
   you try un-redirect the usb device (from the remote-viewer menu) 
before disconnecting the client ?
----------------------------------------------------------------------
already tried, all turn out to the same result
----------------------------------------------------------------------
Uri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20141023/9aca1094/attachment.html>


More information about the Spice-devel mailing list