Re: VirtualBox and CentOS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Lars Hecking wrote:
>  I recently doownloaded and installed the latest RHEL5 rpm from the VirtualBox
>  web site. While it generally works very well, I have been unable to get USB
>  access to work on the guest.
> 
>  This seems to be a very common problem. Many references to it turn up in a
>  web search, but I have not found a solution that works on CentOS 5. I got no
>  response on the vbox-users mailing list either. Can anyone here help?
> 
>  Among the things I tried were various /sys and /proc/bus/usb related fstab
>  and rc.sysinit changes. Drew a total blank on this one ...

I have had the same problem. The only thing that I've found to work is this:

Get your vboxusers group ID
# cat /etc/group | vboxusers

Remount the USBFS with your vboxusers GID
# mount -t usbfs -o remount,devgid=GID,devmode=664 /proc/bus/usb 
/proc/bus/usb

Change the permissions on /dev/vboxdrv
# chmod g+rw /dev/vboxdrv

Restart the vboxdrv service
# service vboxdrv restart

Now when you boot your VM up the USB devices aren't greyed out any 
longer. I suppose you could script this if you wanted, add the usbfs 
mount to /etc/fstab and have the chmod go in a startup script or something.

Regards,
Max
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux