Sometimes you need to use a local USB device in another virtual machine, but if you do not have any hands and feet, you cannot see any device when adding the USB option. If the Host is Ubuntu and you want to use a USB device in the VM option, you need to work hard. Download VirtualBoxExtensionPackhttps: // www.virtualbox.org/wiki/downloadsinstall virtualbox
Sometimes you need to use a local USB device in another virtual machine, but if you do not have any hands and feet, you cannot see any device when adding the USB option. If the Host is Ubuntu and you want to use a USB device in the VM option, you need to work hard.
Download VirtualBox Extension PackHttps://www.virtualbox.org/wiki/Downloads
Install VirtualBox Extension Pack
Add the downloaded extension in "manage"> "global settings"> "Extensions" and install it.
Or use the command line to install:
VBoxManage extpack install xxx. vbox-extpack
Enable USB
After extension support is installed, the current user needs to be in the vboxusers Group to use the USB device, so add the current user to this group:
Sudo gpasswd-a username vboxusers
Username is the current user name.
Add USB
It takes effect after restart. Then you can add a USB device in the "USB" setting of the VM.