红联Linux门户
Linux帮助
当前位置: 红联Linux门户 > Ubuntu

virtualbox访问usb子系统失败解决方法

发布时间:2007-11-20 10:34:49来源:红联作者:vdnuiv
错误显示如下:
Could not load the Host USB Proxy Service (VERR_FILE_NOT_FOUND). The service might be not installed on the host computer.

Result Code:
0×80004005
Component:
Host
Interface:
IHost {81729c26-1aec-46f5-b7c0-cc7364738fdb}
Callee:
IMachine {31f7169f-14da-4c55-8cb6-a3665186e35e}

原因是由于当前帐户无法识别USB设备,虽然在UBUNTU下是好的,解决方法:


1.增加用户组usbfs

$ sudo groupadd usbfs
2. 查看usbfs用户组的gid

$ cat /etc/group | grep usbfs
usbfs:x:1002:

把当前用户增加到usbfs组

$ sudo gedit /etc/group

usbfs:x:1002:
修改为
usbfs:x:1002:zhouyun(这里改成你的帐户名)

4. 为USB设备重新设置权限编辑/etc/fstab文件,添加下面两行,注意你的gid可能不是1002
$ sudo gedit /etc/fstab
在末尾加上
# 1002 is the USB group IDI
none /proc/bus/usb usbfs devgid=1002,devmode=664 0 0

重新启动后,应该就可以在客户机中使用USB设备了。
文章评论

共有 0 条评论