The "usbdevsource" commands enables you to add and remove USB devices globally.
The following command adds a USB device.
VBoxManage usbdevsource add <source name> --backend <backend> --address <address>
Where the command line options are:
-
<source name> specifies the ID of the 'source' USB device to be added. Mandatory.
-
--backend <backend> specifies the USB proxy service backend to use. Mandatory.
-
--address <address> specifies the backend specific address. Mandatory.
The following command removes a USB device.
VBoxManage usbdevsource remove <source name>
Where the command line options are:
-
<source name> specifies the ID of the 'source' USB device to be removed. Mandatory.