Webcam not working on Ubuntu 16.04 with vmware
Andrew Henderson
I am having a hard time making my webcam work for Ubuntu on Vmware 10. The webcam drivers are working fine on the host machine (checked it while using the facebook video calling and google hangout), but doesn't seem to work on the guest Ubuntu machine. The webcam indicator light for my laptop is on when I use cheese, but no image or video is shown , just a black blank page.
I also connected the Realtek_Integrated_Webcam_HD removable device from Vmware tools, still no luck.
54 Answers
What worked for me was changing USB Compatibility from 2.0 to 3.0 in the VMWare settings for the linux guest.
Change USB Compatibility to 1.1 in Virtual Machine Settings.
1To get video capability in VMWare:
- Make sure your host system has video capabilities.
- Launch the vmware
- In the vmware look at the bottom (note: not in the guest system) and select connect to connect to host video device
- Note that VMWare will offer to disconnect the video device from the host please accept this. The video device should now work in the guest os.
NOTE: I tested this on -
- Windows guest in Ubuntu host, and should work in yours.
- Windows OS seems to act greedily when acquiring hardware on host and seems not to like to share (from my experience), so its possible that if your guest is Ubuntu then it may not offer to disconnect from host but if it does accept. That means the video device won't work on the host until you release it using the same steps as with connecting it.
- In Virtualbox this is done when the guest has been stopped, while in VMWare it does this with the guest running as in your case.
Hope this helps.
3What worked for me with Windows 10 and Ubuntu 18.04 on an HP2570p was to start camera in Windows 10 and then connect the VM settings to the camera. Note that "lsusb" did not list the camera device unless it was running in Windows 10 first. Also, the Windows camera app disconnects when the camera is running in Vmware and vice versa. Manual disconnection of camera device from VM was necessary to resume operation in Windows 10 without rebooting ...