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

Re: virtualbox and usb devices



On Sat, 25 Apr 2009 10:33:04 +0200
Magnus Pedersen <bofhenator@gmail.com> wrote:

> Micha Feigin wrote:
> > I've installed virtualbox from http://download.virtualbox.org/virtualbox/debian
> > on my debian unstable. I'm trying to connect a usb device to that machine (a
> > usb camera at the moment). It appears under devices->usb devices->camera 0100
> > but it is grayed out and I can't mark it.
> > 
> > I tried adding write permissions to /proc/bus/usb, /dev/bus/usb and /dev/*usb*
> > but it doesn't seem to help.
> > 
> > Any idea on how to make usb work?
> > 
> > Thanks
> > 
> > 
> I had some troubles with that as well, as I remember I discovered there 
> was a "right order" to do the steps in. You might have tried this 
> already, but are the permessions in /proc/bus/usd rw before you start 
> virtualbox?
> 
> /Magnus
> 
> 

Tried that but it didn't seem to work. I finally found a solution on an ubuntu
forum, seems a bit dirty to but it works.

1. Add a groups usbfs and add the user to that group
2. Add the following line to fstab
none /proc/bus/usb usbfs devgid=1001,devmode=664 0 0
where 1001 is the gid of usbfs


Reply to: