码迷,mamicode.com
首页 > 系统相关 > 详细

ubuntu上virtualbox无法找到usb设备【解决】

时间:2017-07-30 21:11:35      阅读:312      评论:0      收藏:0      [点我收藏+]

标签:err   member   www.   nbsp   rip   special   dia   after   mat   

How to set up USB for Virtualbox?

USB in different versions of Virtual Box

For use of USB in Virtual Box 3.x you need a PUEL-version. From Virtual Box > 4.x USB 1.0 is supported in the OSE version installed from software center. For USB 2.0 or USB 3.0 (from Virtual Box > 5.x) we need to install an extension pack free for download from Oracle. This will make our Virtual Box a PUEL-Version (see this question on details on how to install Virtual Box from the Oracle repository).

To change settings of a virtual machine needs the guest to be powered off.

Become a "vboxuser" !!

To be able to get access to an attached USB device the Ubuntu host user needs to be in the vboxusers group. This can be done from Users and Groups after having installed the gnome-system-tools 技术分享 or from the command line by

sudo usermod -aG vboxusers <username> 

We need a reboot or logout/login for group membership to take effect. On a Windows host a special kernel module will provide USB access.

Activate USB support in Virtual Box Manager

We need to activate the virtual USB driver in our guest OS.

Note that we can only change these settings when the virtual machine is in shut down state.

In the USB settings from Virtual Box Manager tick "Enable USB Controller" For enabling the USB 2.0 driver also tick "Enable USB 2.0 (EHCI) Controller".

技术分享

Select host USB device for access from the guest

To grant access to USB devices we need to select a device to disable in the host and to enable in the guest (this is a precaution to avoid simultaneous access from host and guest). This can be done from the panel Devices menu or by right mouse click in the bottom panel of the Virtual Box Manager on the USB icon:

技术分享

Tick the device you need in the guest, untick it if you need it in the host. The selected device will immediately be accessible from the guest. A Windows guest may need additional drivers:

技术分享

  • Windows 7 needs an additional driver for USB 3.0 support.
  • Windows 10 does not accept an NTFS formatted USB pen drive.

Use USB filters for permanent access in the guest

By defining USB filters we can define USB devices that will automatically be presented to the guest when booting the guest OS.

技术分享

Click on the green + symbol on the right to add a known device.

Note, that some devices may lead to a boot failure of the guest. We can not use these devices for filters.

Read more on USB support in the Virtual Box User Manual.

ubuntu上virtualbox无法找到usb设备【解决】

标签:err   member   www.   nbsp   rip   special   dia   after   mat   

原文地址:http://www.cnblogs.com/sonictl/p/7260280.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!