access USB devices from VirtualBox

Agile Aspect agile.aspect at gmail.com
Wed Aug 19 01:57:14 UTC 2009


On Tue, Aug 18, 2009 at 5:46 PM, L<yuanlux at gmail.com> wrote:
> Hi
>
> I have F10
> Linux  2.6.27.29-170.2.79.fc10.x86_64 #1 SMP Fri Aug 14 20:49:37 EDT
> 2009 x86_64 x86_64 x86_64 GNU/Linux
>
> and installed a virtualbox
>
> Name        : VirtualBox                   Relocations: (not relocatable)
> Version     : 3.0.4_50677_fedora9               Vendor: Sun Microsystems, Inc.
> Release     : 1                             Build Date: Wed 05 Aug
> 2009 05:29:19 AM EST
>
> and WinXp as a guest PC. Things are running smoothly except access  to
> USB devices. I added the user to vboxusers group.
>
> When plug a USB in, I can see this device from VB window Devices ->
> USB Devicves. But the USB device is grayed out. There is no way to
> access it.
>
> I have googled this for fix. some sugegsted this is permission
> problem. but I tried a few things, butall failed.
>
> hope some one offer a fix?
>
> Best
>
> Y
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
>

Try adding the following to /etc/fstab:

     none 	/sys/bus/usb/drivers 	usbfs devgid=503,devmode=664 0 0

And then create a group 'usb' with a group id of 503.

Then mount it

       mount -a

You'll probably need to logout and login to update your groups.

This works on CentOS 5.3 - I haven't tried it on a Fedora system.

I did this to get a MagicJack phone to work on CentOS 5.3 with Windows
runnning as a guest OS in VirtualBox 3. The downside is you may have trouble
with USB devices on the host OS.

-- Agile


-- 
     "We are drowning in information and starving for knowledge."

                                                          --
Rutherford D. Roger




More information about the users mailing list