Ubuntu – How to use the webcam with Ubuntu running in VirtualBox


I have Ubuntu running in VirtualBox on a Windows 7 host machine. How can I make my built-in laptop camera work with it?

Best Answer

This is possible, but requires a few steps to get working properly:

  1. Make sure the virtual machine is not running and your webcam is not being used.
  2. Bring up the main VBox window and in the details tab for your Win7 machine click USB.
  3. Make sure "Enable USB Controller" is selected. Also make sure that "Enable USB 2.0 (EHCI) Controller" is selected too.
  4. Click the "Add filter from device" button (the cable with the '+' icon).
  5. Select your device from the list.
  6. Now click OK and start your VM.

This will cause the device to show up as if it were plugged into the VM. From there, you should be able to use it or install drivers if necessary.

Related Question