VirtualBox

17 年 前 建立

13 年 前 結束

#705 closed defect (fixed)

usb in clients on Fedora 7 hosts

回報者: kiilerix 負責人:
元件: other 版本: VirtualBox 1.5.0
關鍵字: usb usbfs /proc/bus/usb 副本:
Guest type: other Host type: other

描述

Adding to what is said in User Manual "11.4.6 USB not working":

On Fedora 7 usbfs is mounted in /etc/rc.d/rc.sysinit as

mount -n -t usbfs /proc/bus/usb /proc/bus/usb

vboxusers can thus not use usb; all usb devices will be shown greyed out.

The following command gives vboxusers access access to use usb in clients.

 mount -t usbfs -o remount,devgid=$(awk -F: '/^vboxusers:/{print $3}' /etc/group),devmode=664  /proc/bus/usb /proc/bus/usb

Recommended action:

  1. The section in the User Manual should be extended.
  1. A descriptive warning should be given when usb devices can't be accessed by the user. Just greying the devices is no help.
  1. A smart solution automating this should be made ;-)

更動歷史 (6)

comment:1 17 年 前guelzimtr 編輯

I followed the above solution but still cannot see the usb devices.

can you please reiterate the step by step process.

many thanks

comment:2 17 年 前kiilerix 編輯

Same problem with VirtualBox-1.5.2_25433_fedora7-1

The problem might be that vboxdrv was running when remounting.

This works for me - and helps debugging:

service vboxdrv stop

lsof +D /proc/bus/usb/
mount -t usbfs -o remount,devgid=$(awk -F: '/^mk:/{print $3}' /etc/group),devmode=664  /proc/bus/usb /proc/bus/usb
ll -R /proc/bus/usb/*

chmod g+rw /dev/vboxdrv
ll /dev/vboxdrv

service vboxdrv start
service vboxnet restart

Note that there is also a problem with access to /dev/vboxdrv

comment:3 17 年 前VirtualFan 編輯

the first solution worked for me at first, then I had to redo it every time I re-started the computer, and now I get the error message 'mount: /proc/bus/usb not mounted already, or bad option' when I use the above command line as before, and the usb devices remain greyed out.

Please help. Thanks!

comment:4 17 年 前Sander van Leeuwen 編輯

狀態: newclosed
處理結果: fixed

Try again with 1.6.0 and report back if it's still relevant. Thanks.

comment:5 16 年 前Keith 編輯

狀態: closedreopened
處理結果: fixed

Reopening old ticket as the symptoms appear identical and the fix works -

This problem seems to re-appear in Fedora 9 / Virtualbox version 2. Appears that the relevant section in the manuals is now "11.5.7 USB Not Working"

uname -a Linux localhost.localdomain 2.6.25.14-108.fc9.x86_64 #1 SMP Mon Aug 4 13:46:35 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux

rpm -qa|grep VirtualBox VirtualBox-2.0.0_36011_fedora9-1.x86_64

I would echo the original recommended action.

comment:6 13 年 前Frank Mehnert 編輯

狀態: reopenedclosed
處理結果: fixed

This was fixed long time ago.

注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette