webcam won't work on linux guest

Discussions about using Linux guests in VirtualBox.
Post Reply
neuronetv
Posts: 81
Joined: 25. Aug 2014, 17:23

webcam won't work on linux guest

Post by neuronetv »

this post was originally on the linux hosts forum but I deleted it and moved it here because the problem may be on the guest.
I'm running vbox-5.0 on a centos 6.7 host machine which also runs a centos 6 guest machine. I have a ms lifecam cinema usb webcam connected that works fine in the host machine but when I pass it to the guest it doesn't work. I've installed v4l-utils on both the host and the guest, the v4l-utils command works fine on the host but in when I pass the webcam to the guest the v4l-utils program in the guest doesn't show the webcam. On the host I have the vbox extensions pack installed I use this command to pass the webcam to the guest:

Code: Select all

VBoxManage controlvm centos6 usbattach <uuid>
The webcam then shows up in the guest machine fine as /dev/video0 and lsusb gives

Code: Select all

Bus 001 Device 007: ID 045e:075d Microsoft Corp. LifeCam Cinema
so all seems fine there. Is there some kind of limitation in vbox when it comes to passing usb devices? I can't understand why the cam works fine in the host but not in the guest. Thanks for any help.
Post Reply