Page 1 of 1

VBoxmanage usbdevsource

Posted: 31. Jan 2018, 00:03
by Mirianet
Hi every one !

I'll would like to use "Vnoxmanage usbdevsource" command, the doc says :

Code: Select all

To enable support for passing through USB/IP devices, the device server exporting the devices
must be added with the following command:

VBoxManage usbdevsource add "Unique name" --backend "USBIP" --address "Device server[:port]"
I tried replacing "Device server" by Host IP address in vbox network (192.168.56.1) and ran command with admin rights but I always get this error :

Code: Select all

VBoxManage.exe: error: Creating the USB device source "USBIP" using backend "USBIP" failed with VERR_NET_CONNECTION_REFUSED
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component USBProxyService, interface IHost, callee IUnknown
VBoxManage.exe: error: Context: "AddUSBDeviceSource(strBackend.raw(), Bstr(a->argv[1]).raw(), strAddress.raw(), ComSafeArrayAsInParam(usbSourcePropNames), ComSafeArrayAsInParam(usbSourcePropValues))" at line 589 of file VBoxManageUSB.cpp
Then I tried same command with all firewalls shutting down but I got same error message.

Can you show me the correct syntax using an example ?
What does exactly "backend" means ? And "Device server " ?

Any idea would be appreciated !

Re: Vnoxmanage usbdevsource

Posted: 31. Jan 2018, 09:00
by Martin
Do you have an "USB/IP device server" in your network which provides remote USB ports?

More information can be found in the VirtualBox manual "Advanced Topics" chapter 9.34. "Accessing USB devices exposed over the network with USB/IP"
https://www.virtualbox.org/manual/ch09.html#usbip

Re: Vnoxmanage usbdevsource

Posted: 3. Feb 2018, 13:29
by Mirianet
Thank You Martin !
Ok I'm looking this way, I think USB device server is a necessary condition to use remote USB ports

Re: Vnoxmanage usbdevsource

Posted: 3. Feb 2018, 13:40
by Martin
A few days ago socratis mentioned in another thread some possible software solutions.