[Solved] Grey USB peripherals.

Discussions related to using VirtualBox on Linux hosts.
Post Reply
nc0d
Posts: 3
Joined: 3. Sep 2009, 12:58
Primary OS: Linux other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: windows xp

[Solved] Grey USB peripherals.

Post by nc0d »

Hi all,
I am using Virtualbox 3.0.4 PUEL version on a Slackware host. The guest is windows xp with guest additions.
I tried to follow user manual but my usb peripherals still don't work : the peripherals list on the guest are grey.
I added usb filters and tried without, restarted the guest, unpluged the device.
I am not able to add my user to the vboxusers group since the group do not exist in /etc/group.
Does anyone have suggestions on getting usb peripherals working? Thanks in advance.
Last edited by nc0d on 3. Sep 2009, 18:37, edited 1 time in total.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Grey USB peripherals.

Post by Perryg »

Adding yourself to the VBox Users group in terminal as su

Code: Select all

usermod -aG vboxusers <your username>
nc0d
Posts: 3
Joined: 3. Sep 2009, 12:58
Primary OS: Linux other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: windows xp

Re: Grey USB peripherals.

Post by nc0d »

Hi Perryg, thanks for your reply.
Perryg wrote:usermod -aG vboxusers <your username>
The problem is that the vboxusers group was not created during the installation. Creating the group and joining it could be the solution?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Grey USB peripherals.

Post by Perryg »

Slackware is not an official Host OS but it should be possible to get it to work as you want.
Maybe some reading here will help. http://www.google.com/search?q=install+ ... +slackware
nc0d
Posts: 3
Joined: 3. Sep 2009, 12:58
Primary OS: Linux other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: windows xp

Re: [Solved] Grey USB peripherals.

Post by nc0d »

Ok, usb devices now work fine!
The problem was : the user that belongs to vboxusers group did not have rw rights on usbfs.
Here is how i fix that, it works for me, but i don't say it is the right way.
Modify the usbfs line in /etc/mtab like this :

Code: Select all

usbfs /proc/bus/usb usbfs devgid=102,devmode=0664 0 0             (102 is the vboxusers group id on my system.) 
Thanks fot the help here and on #vbox
Post Reply