Can't use my Web Cam on Virtual Machine of VirtualBox

-1

First of all, I setup Debian x64 and am using Raspbian OS for my VM. I downloaded the expansion pack and I can see and select my camera from Devices tab. But I can't see my output in a webcam program such as Cheese. Also my webcam is visible in USB tab with port 0002 visible and my usb settings are enabled with USB 2.0. Moreover I tried to attach the camera from cmd, I got this error as a result:

D:>cd Oracle

D:\Oracle>VBoxManage list webcams Video Input Devices: 1 .1 "USB HD WEBCAM" \?\usb#vid_0408&pid_2020&mi_00#6&10905c26&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global

D:\Oracle>VBoxManage controlvm "Swordian" webcam attach .1 VBoxManage.exe: error: Code E_FAIL (0x80004005) - Unspecified error (extended info not available) VBoxManage.exe: error: Context: "WebcamAttach(path.raw(), settings.raw())" at line 2105 of file VBoxManageControlVM.cpp

D:\Oracle>VBoxManage controlvm "Swordian" webcam attach \?\usb#vid_0408&pid_2020&mi_00#6&10905c26&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global VBoxManage.exe: error: Attach emulated USB webcam (VERR_NOT_FOUND) VBoxManage.exe: error: Details: code VBOX_E_VM_ERROR (0x80bb0003), component ConsoleWrap, interface IConsole, callee IUnknown VBoxManage.exe: error: Context: "WebcamAttach(path.raw(), settings.raw())" at line 2105 of file VBoxManageControlVM.cpp 'pid_2020' is not recognized as an internal or external command, operable program or batch file. 'mi_00#6' is not recognized as an internal or external command, operable program or batch file. '10905c26' is not recognized as an internal or external command, operable program or batch file. '0' is not recognized as an internal or external command, operable program or batch file. The system cannot find the path specified.

Furthermore I tried to use the camera from USB tab in VM but I got this error:

Failed to attach the USB device Quanta Computer, Inc. [0002] to the virtual machine Swordian.

So, at last I still don't know what to do to use my webcam on my virtual machine after all those experiments. I'm looking forward to your help.

usb
virtual-machine
virtualbox
raspbian
webcam
asked on Stack Overflow Nov 8, 2019 by pegasuSword • edited Nov 8, 2019 by Alessio

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0