ubuntu上virtualbox无法找到usb设备【解决】
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设备【解决】的更多相关文章
- Ubuntu上识别不到安卓设备或者显示出“????”,提示No Permission
一:Ubuntu上识别不到安卓设备 1.lsusb找到设备的Vendor ID 2.cd ~/.android 3.vim adb_usb.ini 4.把设备的VendorID添加进来,如设备ID为2 ...
- 虚拟机中不能连接usb设备解决办法
虚拟机中不能连接usb设备解决办法 1.点击开始->运行,在对话框中输入"services.msc",确定,打开windows服务管理器.2.在服务列表中选中"VM ...
- 在linux中的virtualbox无法挂载usb设备的解决方法
方法来源于网络. 在安装完virtualbox之后,virtualbox会建立一个名为 vboxusers 的组,将你的用户名加入到该组即可. 命令参考: #usermod -a -G vboxuse ...
- Android开发之Ubuntu上Eclipse不显示手机设备
一.准备工作 A.开启Android设备,用USB数据线连接到Ubuntu系统. B.启用设备的USB调试模试 C.启动Eclipse,在Devices栏会现一个有很多???号的不明设备 ...
- Ubuntu中VisualBox无法识别USB设备
解决方法 安装Oracle VM VirtualBox Extension Pack( https://www.virtualbox.org/wiki/Downloads ) 执行sudo /usr/ ...
- ubuntu上zip格式解压乱码解决
在windows上压缩的文件,是以系统默认编码中文来压缩文件.由于zip文件中没有声明其编码,所以linux上的unzip一般以默认编码解压,中文文件名会出现乱码. 虽然2005年就有人把这报告为bu ...
- [异常解决] ubuntu上安装虚拟机遇到的问题(vmware坑了,virtual-box简单安装,在virtual-box中安装精简版win7)
利用周末时间将整个电脑格式化,换成了ubuntu系统- 所谓:扫清屋子再请客! 但是有些软件只在win上有,于是还是考虑装个虚拟机来个——逐步过度策略,一点点地从win上转移到linux上 我的系统是 ...
- 在Ubuntu上创建一个可以启动的U盘
1.概观 使用可启动的Ubuntu USB盘,您可以: 安装或升级Ubuntu 在不触及PC配置的情况下测试Ubuntu桌面体验 在借来的机器或网吧上启动到Ubuntu 使用USB盘上默认安装的工具来 ...
- USB设备驱动
在Linux 内核中,使用usb_driver 结构体描述一个USB 设备驱动,usb_driver 结构体的定义如代码清单20.11 所示.代码清单20.11 usb_driver 结构体 stru ...
随机推荐
- PHP-不同Str 拼接方法性能对比
问题 在PHP中,有多种字符串拼接的方式可供选择,共有: 1 . , .= , sprintf, vprintf, join, implode 那么,那种才是最快的,或者那种才是最适合业务使用的,需要 ...
- 《JavaScript设计模式与开发》笔记 1.面向对象的JavaScript
多态 封装 原型模式 基于原型模式的继承javascript对象 1.多态 多态的实际含义是:同一操作作用于不同的对象上面,可以产生不同的解释和不同的执行结果.换句话说,给不同的对象发哦少年宫同一个消 ...
- C#中全局处理异常方式
using System; using System.Configuration; using System.Text; using System.Windows.Forms; using ZB.Qu ...
- sql中的STRFTIME
STRFTIME返回的是一个字符串 STRFTIME('%w',myTime) in ('1','2','4','5') 可以正确执行,而 STRFTIME('%w',myTime) in (1,2, ...
- vscode修改code runner插件默认使用的编译器
code runner的原理就是自动帮你完成在控制台中输入切换路径和编译源代码以及运行编译好的程序的指令 编译指令是根据配置文件中一开始写好的模板来执行的 不同语言对应一条指令,运行code runn ...
- win7下python2.6如何安装setuptools和pip
1. 下载 setuptools-0.6c9.tar.gz 下载地址:http://pypi.python.org/packages/source/s/setuptools/setuptools-0. ...
- 【AMQ】之安装,启动,访问
1.访问官网下载AMQ 2.解压下载包 windows直接找到系统对应的win32|win64 双击activemq.bat 即可 linux执行 ./activemq start 访问: AMQ默认 ...
- 陷入了一个NGUI自适应的一个坑
自己对anchor的乱用.造成自己深陷anchor来搞自适应 耽误了太多的精力,最终也是回到正轨的途径 这期间浪费的太多精力了. 沉迷一件错误的事情过久 就 要果断的跳出 调整 . 但凡让自己觉得别扭 ...
- DB2 Rename SQL0108N错误
今天DB2 Rename的时候遇到了“SQL0108N ‘表名’名称的限定符数是错误的. 语句如下: db2 rename tableA to tableB 异常: SQL0108N The name ...
- bzoj4183: tree
Description 自底向上模拟,原地操作以节省空间 #include<bits/stdc++.h> unsigned n,a,b,c,v[],mx,ans=; int main(){ ...