RHEV 3 and SPICE USB Redirection
I am trying to enable USB redirection from a Windows 7 client to a Windows 7 guest running on RHEV 3 using SPICE. The directions in section "Using USB Devices on a Windows Client" of the User Portal Guide reference a "RHEV-USB-Client.msi", which I cannot locate. Is this the same installer that is named "RHEV-USB.msi" in the Tools ISO?
Responses
Dear All,
Thank you for sharing the link to download the USB package for Windows Client.
Now I have installed the USB client on my Windows 7 desktop and I have added the usb disk to my windows 7 Client.
When I try to access the USB storage through Admin portal or User portal by clicking on Enable USB-share.
Still I am not able to see USB storage disk on my Windows XP or Windows 7 virtual machine.
Kindly suggest if any additional steps are required for the same.
Ashish
Hi, It seems that I'm having a similar issue, I'm getting this log from the usbredirector
main: 192.168.0.60 32023 -c \\.\pipe\SpiceForeignMenu-4056 -l USB Devices,No USB devices,Client's SPICE USB Redirector is not installed -f -1,60186,10000,256,1|-1,1118,245,-1,1|-1,1133,2245,-1,1|-1,1133,2242,5,1|8,-1,-1,-1,1|7,-1,-1,-1,1|-1,-1,-1,-1,1 -a
ForeignMenu::open_connection: Openning a foreign menu connection: \\.\pipe\SpiceForeignMenu-4056
UsbServer::set_filter: -1,-1,-1,-1,1
UsbServer::start: Creating a callback connection 192.168.0.60:32023
UsbServer::start: Callback connection is 1
UsbServer::find_connected_client: No connected USB clients were found.
usb_device_descriptor: 0x00000002, USB Device: - , USB port: 1-2, Class: 0x00 (Device) VendoreID: 0x0529 Product ID: 0x0001 Revision: 0x0325, Status: 0x0000 (USB Device is connected to your computer.), Properties: 0x0080 (), Timeout: 0
usb_device_descriptor: 0x00000005, USB Device: USB Device - Dispositivo compuesto USB, Serial number: ABD6FCE0, Class: 0x00 (Device) VendoreID: 0x046d Product ID: 0x0819 Revision: 0x0010, Status: 0x0000 (USB Device is connected to your computer.), Properties: 0x0010 (SERIAL ), Timeout: 0
UsbServer::set_filter: -1,60186,10000,256,1|-1,1118,245,-1,1|-1,1133,2245,-1,1|-1,1133,2242,5,1|8,-1,-1,-1,1|7,-1,-1,-1,1|-1,-1,-1,-1,1
usb_device_descriptor: 0x00000002, USB Device: - , USB port: 1-2, Class: 0x00 (Device) VendoreID: 0x0529 Product ID: 0x0001 Revision: 0x0325, Status: 0x0000 (USB Device is connected to your computer.), Properties: 0x0080 (), Timeout: 0
ForeignMenu::init: Initializing foreign menu: USB Devices
usb_device_descriptor: 0x00000005, USB Device: USB Device - Dispositivo compuesto USB, Serial number: ABD6FCE0, Class: 0x00 (Device) VendoreID: 0x046d Product ID: 0x0819 Revision: 0x0010, Status: 0x0000 (USB Device is connected to your computer.), Properties: 0x0010 (SERIAL ), Timeout: 0
ForeignMenu::write_to_client: Sending 20/20 bytes to client.
ForeignMenu::write_to_client: Sending 12/12 bytes to client.
Application::execute: USB Controller is now running...
ForeignMenu::remove_items: Removing all existing foreign menu items.
ForeignMenu::write_to_client: Sending 8/8 bytes to client.
UsbServer::is_share_allowed: Device 0x00000002 Action: Block
ForeignMenu::add_item: Adding foreign menu item: USB Device
ForeignMenu::write_to_client: Sending 20/20 bytes to client.
ForeignMenu::write_to_client: Sending 11/11 bytes to client.
UsbServer::is_share_allowed: Device 0x00000005 Action: Block
ForeignMenu::add_item: Adding foreign menu item: USB Device - Dispositivo compuesto USB
ForeignMenu::read_completion_routine: Error on read completion (err=233 , GetLastError=0)
ForeignMenu::write_to_client: Error sending data to client (error = 233)
ForeignMenu::write_to_client: err= 233, wrote 0/39)
ForeignMenu::write_to_client: Error sending data to client (error = 233)
UsbServer::stop: Shutting down USB server.
usb_device_descriptor: 0x00000002, USB Device: - , USB port: 1-2, Class: 0x00 (Device) VendoreID: 0x0529 Product ID: 0x0001 Revision: 0x0325, Status: 0x0000 (USB Device is connected to your computer.), Properties: 0x0080 (), Timeout: 0
usb_device_descriptor: 0x00000005, USB Device: USB Device - Dispositivo compuesto USB, Serial number: ABD6FCE0, Class: 0x00 (Device) VendoreID: 0x046d Product ID: 0x0819 Revision: 0x0010, Status: 0x0000 (USB Device is connected to your computer.), Properties: 0x0010 (SERIAL ), Timeout: 0
Application::execute: USB Controller terminated (return code = 0)
Dear Team,
Do we have any update on the USB redirection issue?
As I have installed the drivers and still I dont see the usb disk attached to my client getting mapped to the VDI desktop machine.
Kindly suggest.
Thanks,
Ashish
It works here but I had to right-click on the SPICE frame and select the USB Device named "USB Mass Storage Device".
If there is a way to get the USB storage device to be selected by the SPICE client automatically when it is hotplugged, that would be helpful.
There is an option in the Spice Console properties in the User Portal named "Enable USB Auto-Share". Enabling this option causes the USB storage device to be automatically selected by the Spice client when it is hotplugged.
It would be helpful if the "Enable USB Auto-Share" option could be enabled by default.
Take a look at rhevm-config option called "SpiceUsbAutoShare" - that defines the deafult behaviour of that checkbox