VBoxmanage usbdevsource

This is for discussing general topics about how to use VirtualBox.
Post Reply
Mirianet
Posts: 2
Joined: 30. Jan 2018, 23:39

VBoxmanage usbdevsource

Post 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 !
Martin
Volunteer
Posts: 2561
Joined: 30. May 2007, 18:05
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: XP, Win7, Win10, Linux, OS/2

Re: Vnoxmanage usbdevsource

Post 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
Mirianet
Posts: 2
Joined: 30. Jan 2018, 23:39

Re: Vnoxmanage usbdevsource

Post 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
Martin
Volunteer
Posts: 2561
Joined: 30. May 2007, 18:05
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: XP, Win7, Win10, Linux, OS/2

Re: Vnoxmanage usbdevsource

Post by Martin »

A few days ago socratis mentioned in another thread some possible software solutions.
Post Reply