[Solved] Configuring Webcam support in Windows 10 Guest OS
[Solved] Configuring Webcam support in Windows 10 Guest OS
Having trouble with setting up the webcam configuration in the Host OS.
Virtual Box Version: Version 5.2.8 r121009 (Qt5.6.3)
Guest OS: MSEdge on Win 10 (X64) 16.16299 Stable (via Microsoft Edge developer tools)
Host OS: macOS Sierra Version 10.12.6
Issue: Webcam not recognized in the Guest OS after installing the recommended extension pack 5.2.8 for webcam support (via Virtual Box downloads), when the Guest OS is launched under devices the webcam is not found in the drop down.
Are there any suggestions on what I should look into to make the proper configuration?
Thanks
Virtual Box Version: Version 5.2.8 r121009 (Qt5.6.3)
Guest OS: MSEdge on Win 10 (X64) 16.16299 Stable (via Microsoft Edge developer tools)
Host OS: macOS Sierra Version 10.12.6
Issue: Webcam not recognized in the Guest OS after installing the recommended extension pack 5.2.8 for webcam support (via Virtual Box downloads), when the Guest OS is launched under devices the webcam is not found in the drop down.
Are there any suggestions on what I should look into to make the proper configuration?
Thanks
-
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Mostly XP
Re: Configuring Webcam support in Windows 10 Guest OS
Did you read user manual section 9.7? So what does :-
Report before you run any VMs?VBoxManage list webcams
Re: Configuring Webcam support in Windows 10 Guest OS
I tried the following today:
VBoxManage list webcams
which results in one Video Input Devices (prior to launching VM), then as per tutorial I found online (prior to learning about section 9.7), I tried the following:
VboxManage controlvm "MSEdge - Win10" webcam attach .1
which results in the following errors (if I run the command after launching vm):
VBoxManage: error: Attach emulated USB webcam (VERR_PDM_NO_USB_HUBS)
VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component ConsoleWrap, interface IConsole, callee nsISupports
VBoxManage: error: Context: "WebcamAttach(path.raw(), settings.raw())" at line 2029 of file VBoxManageControlVM.cpp
VBoxManage list webcams
which results in one Video Input Devices (prior to launching VM), then as per tutorial I found online (prior to learning about section 9.7), I tried the following:
VboxManage controlvm "MSEdge - Win10" webcam attach .1
which results in the following errors (if I run the command after launching vm):
VBoxManage: error: Attach emulated USB webcam (VERR_PDM_NO_USB_HUBS)
VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component ConsoleWrap, interface IConsole, callee nsISupports
VBoxManage: error: Context: "WebcamAttach(path.raw(), settings.raw())" at line 2029 of file VBoxManageControlVM.cpp
-
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Mostly XP
Re: Configuring Webcam support in Windows 10 Guest OS
Please post a VM log file. With the VM fully shut down, right click and "Show Log" in the GUI, save "VBox.log" (no other file) to a zip, and attach the zip here.
Re: Configuring Webcam support in Windows 10 Guest OS
Sure thing, here is the log file which was generated after saving and compressing VBox.log (renamed the file name to match).
- Attachments
-
- VBox.log.zip
- (24.75 KiB) Downloaded 326 times
-
- Volunteer
- Posts: 1095
- Joined: 20. May 2009, 02:17
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Windows, OSX
- Location: U S of A
Re: Configuring Webcam support in Windows 10 Guest OS
If I follow the directions in the User Manual, works perfectly.LN_VBox wrote:VboxManage controlvm "MSEdge - Win10" webcam attach .1
You might try also following directions.
Code: Select all
VBoxManage controlvm "VM name" webcam attach [host_path|alias [settings]]
List the output from following command
Code: Select all
VBoxManage list webcams
Re: Configuring Webcam support in Windows 10 Guest OS
@ChipMcK
So, when I use
VBoxManage list webcams
I get the following output:
Video Input Devices: 1
.1 "FaceTime HD Camera"
CC26326RYTKG1HNBX
then my understanding is '.1' is the alias, when i use the following command
VboxManage controlvm "MSEdge - Win10" webcam attach .1
So, when I use
VBoxManage list webcams
I get the following output:
Video Input Devices: 1
.1 "FaceTime HD Camera"
CC26326RYTKG1HNBX
then my understanding is '.1' is the alias, when i use the following command
VboxManage controlvm "MSEdge - Win10" webcam attach .1
-
- Volunteer
- Posts: 1095
- Joined: 20. May 2009, 02:17
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Windows, OSX
- Location: U S of A
Re: Configuring Webcam support in Windows 10 Guest OS
on your Guest the command isLN_VBox wrote:Video Input Devices: 1
.1 "FaceTime HD Camera"
CC26326RYTKG1HNBX
Code: Select all
VboxManage controlvm "MSEdge - Win10" webcam attach CC26326RYTKG1HNBX
Re: Configuring Webcam support in Windows 10 Guest OS
@ ChipMcK
I tried the following with a modification to VBoxManage from VboxManage:
In the guest (Windows terminal) if I run the specified command (VBoxManage controlvm "MSEdge - Win10" webcam attach CC26326RYTKG1HNBX), I get the following:
'VBoxManage' is not recognized as an internal or external command, operable program or batch file.
In the host (Mac terminal) if I run the specified command, I get the following:
VBoxManage: error: Attach emulated USB webcam (VERR_PDM_NO_USB_HUBS)
VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component ConsoleWrap, interface IConsole, callee nsISupports
VBoxManage: error: Context: "WebcamAttach(path.raw(), settings.raw())" at line 2029 of file VBoxManageControlVM.cpp
I tried the following with a modification to VBoxManage from VboxManage:
In the guest (Windows terminal) if I run the specified command (VBoxManage controlvm "MSEdge - Win10" webcam attach CC26326RYTKG1HNBX), I get the following:
'VBoxManage' is not recognized as an internal or external command, operable program or batch file.
In the host (Mac terminal) if I run the specified command, I get the following:
VBoxManage: error: Attach emulated USB webcam (VERR_PDM_NO_USB_HUBS)
VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component ConsoleWrap, interface IConsole, callee nsISupports
VBoxManage: error: Context: "WebcamAttach(path.raw(), settings.raw())" at line 2029 of file VBoxManageControlVM.cpp
-
- Volunteer
- Posts: 1095
- Joined: 20. May 2009, 02:17
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Windows, OSX
- Location: U S of A
Re: Configuring Webcam support in Windows 10 Guest OS
Note: For in place of OnChipMcK wrote:For your Guest the command isLN_VBox wrote:Video Input Devices: 1
.1 "FaceTime HD Camera"
CC26326RYTKG1HNBXCode: Select all
VboxManage controlvm "MSEdge - Win10" webcam attach CC26326RYTKG1HNBX
-
- Volunteer
- Posts: 2561
- Joined: 30. May 2007, 18:05
- Primary OS: Fedora other
- VBox Version: PUEL
- Guest OSses: XP, Win7, Win10, Linux, OS/2
Re: Configuring Webcam support in Windows 10 Guest OS
Do you have USB support enabled in your VM settings?LN_VBox wrote:VBoxManage: error: Attach emulated USB webcam (VERR_PDM_NO_USB_HUBS)
Re: Configuring Webcam support in Windows 10 Guest OS
@Martin
Much appreciated that suggestion worked, so the fix was to enable the USB in Oracle VM VirtualBox Manager
USB -> Enable USB Controller
then, follow the steps listed on 9.7 (as @ChipMcK outlined in the host (MAC) Terminal)
Thank you for the help
Much appreciated that suggestion worked, so the fix was to enable the USB in Oracle VM VirtualBox Manager
USB -> Enable USB Controller
then, follow the steps listed on 9.7 (as @ChipMcK outlined in the host (MAC) Terminal)
Thank you for the help
Re: [Solved] Configuring Webcam support in Windows 10 Guest OS
Folks, Just spent time wrestling a webcam passthrough challenge I thought would be useful to share. After capturing the webcam (This was a Bison NB Pro camera) all the virtul machines would detect the webcam but would not get anything except a black picture. What finally worked for me was switching from USB 2.0 EHCI to USB 3.0. Then the webcam worked perfectly. Of course the default for USB is USB 2.0 EHCI for good reason, but some webcams don't work properly unless you enable the USB 3.0 on the VirtualBox Guest. Hope this post helps people out there avoid frustration.
-
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Mostly XP
Re: [Solved] Configuring Webcam support in Windows 10 Guest OS
Well thanks for the tip, but only you can know if the device you plugged in expects USB2 or USB3. Unless you're saying it's a USB2 device that for some reason only works properly in a USB3 port?
Also, for clarity a quick summary of USB3 tips: if you plug a USB3 device into a USB3 host port then the device works in USB3 mode. This is settled by the hardware, not by whether the guest OS has driver support for USB3/xHCI. Win7 and earlier don't have native USB3 support.
Also, for clarity a quick summary of USB3 tips: if you plug a USB3 device into a USB3 host port then the device works in USB3 mode. This is settled by the hardware, not by whether the guest OS has driver support for USB3/xHCI. Win7 and earlier don't have native USB3 support.