Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Virtualbox usb
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
m.s.w
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 193
Location: Kraków, Poland

PostPosted: Mon Nov 24, 2008 8:01 pm    Post subject: Virtualbox usb Reply with quote

Hi,
I can't get usb working with virtualbox-bin.
In /etc/group I have:
Code:
maniek@mkm-box ~ $ grep usb /etc/group
usb:x:85:haldaemon,vboxusers

And usbfs is mounted like this:
Code:
usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85)

I enabled support for USB and USB 2.0 in virtualbox, but still my devises are invisible (webcam and mobile phone). Do the devices have to be recognised in linux (with proper drivers) to work in virtualbox? I am asking becouse in recent kernels we have gspca driver included but it does not work and you can not compile the old good gspcav1 anymore, and I hoped that in virtualbox I will have the possibility to use it but I failed. Could you help me with that topic?
_________________
Mark Twain said it best:
"If you have to swallow a frog, don't stare at it too long!"
Back to top
View user's profile Send private message
jamapii
l33t
l33t


Joined: 16 Sep 2004
Posts: 637

PostPosted: Tue Nov 25, 2008 12:47 am    Post subject: Reply with quote

Maybe try qemu, from its man page

-usb
Enable the USB driver (will be the default soon)

-usbdevice devname
Add the USB device devname.

I think you can get control over what device to connect to the VM with this. Actually, use kvm, its man page is better :)
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Tue Nov 25, 2008 1:22 am    Post subject: Re: Virtualbox usb Reply with quote

m.s.w wrote:
I enabled support for USB and USB 2.0 in virtualbox, but still my devises are invisible (webcam and mobile phone). Do the devices have to be recognised in linux (with proper drivers) to work in virtualbox? I am asking becouse in recent kernels we have gspca driver included but it does not work and you can not compile the old good gspcav1 anymore, and I hoped that in virtualbox I will have the possibility to use it but I failed. Could you help me with that topic?
Actually, I'm pretty sure it's the exact opposite, none of the usb devices you desire to use in virtualbox should be "claimed" by their linux drivers, meaning it's better if the modules are not loaded, and that may even be required.

All you need on the host side is support for the usb controller itself.

However, just because a usb device is connected to your host doesn't mean it'll be available to the guest within virtualbox (at least, not by default).
You need to select the usb device via virtualbox which you want to make available to a guest.
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum