VirtualBox 6.0 on Mac OS 10.14.2 cannot access the Camera

Discussions related to using VirtualBox on Mac OS X hosts.

VirtualBox 6.0 on Mac OS 10.14.2 cannot access the Camera

Postby bbooffa » 11. Jan 2019, 02:17

Virtual Box Version: Version 6.0.0
Guest OS: Ubuntu 18.04
Host OS: macOS Mojave Version 10.14.2

These are running on 2017 MBP

How do I get VirtualBox to access the Camera ?

Ex. Skype on Ubuntu only has access to the Mic but not the Camera
Skype on Mojave has access to both Mic and Cam.

Under Mac OS System Preference, Security and Privacy, there is no way to allow Virtual Box to access the Camera.

Thanks.
bbooffa
 
Posts: 5
Joined: 11. Jan 2019, 02:01

Re: VirtualBox 6.0 on Mac OS 10.14.2 cannot access the Camera

Postby socratis » 11. Jan 2019, 17:04

bbooffa wrote:How do I get VirtualBox to access the Camera ?

Go to the menu "Devices" > "Webcams" > pick your device.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 24208
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: VirtualBox 6.0 on Mac OS 10.14.2 cannot access the Camera

Postby bbooffa » 12. Jan 2019, 03:59

Thanks for the reply. Even when VirtualBox is running, there is no menu available as 'Devices".
Under Tool (on VB) the menus available are General, Input, Update, Language,Display, Network, Extensions and Proxy.
Have checked all of the above but cannot find an option to add a device (camera).

Cheers.
bbooffa
 
Posts: 5
Joined: 11. Jan 2019, 02:01

Re: VirtualBox 6.0 on Mac OS 10.14.2 cannot access the Camera

Postby socratis » 12. Jan 2019, 04:09

bbooffa wrote:Even when VirtualBox is running, there is no menu available as 'Devices".
Yes there is. With the VM window having the focus, look in the OSX menubar, to the right of the Apple logo. Even if you're running full screen, you can still take the mouse to the top of the screen and see the menubar.

bbooffa wrote:the menus available are General, Input, Update, Language,Display, Network, Extensions and Proxy.
Those are the VirtualBox preferences that you're describing. Not the menubar.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 24208
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: VirtualBox 6.0 on Mac OS 10.14.2 cannot access the Camera

Postby bbooffa » 12. Jan 2019, 07:03

Thanks @socratis, I tried what you have described.
When running Ubuntu (VirtualBox VM), the following are the options under (OS X) Device menu;
Hard Disks
Optical Drivers
Audio
Networks
USB

Thanks.
bbooffa
 
Posts: 5
Joined: 11. Jan 2019, 02:01

Re: VirtualBox 6.0 on Mac OS 10.14.2 cannot access the Camera

Postby socratis » 12. Jan 2019, 09:23

I's like to see a complete VBox.log, from a complete VM run:
  • Start the VM from cold-boot (not from a paused or saved state) / Observe problem/ Shutdown the VM (force close it if you have to).
  • With the VM completely shut down (not paused or saved), right-click on the VM in the VirtualBox Manager and select "Show Log".
  • Save only the first "VBox.log", ZIP it and attach it to your response. See the "Upload attachment" tab below the reply form.
I'd also like to see the "recipe" of the VM, the ".vbox" file:
  1. Right-click on the VM in the VirtualBox Manager.
  2. Select "Show in Finder".
  3. ZIP the selected ".vbox" file and attach it in your response.
Image
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 24208
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: VirtualBox 6.0 on Mac OS 10.14.2 cannot access the Camera

Postby bbooffa » 12. Jan 2019, 11:51

@.socratis, thanks for taking time to fix this issue.
I have attached two log files requested.

Thanks again.
Attachments
My Ubuntu VM.vbox.zip
(1.49 KiB) Downloaded 7 times
bbooffa
 
Posts: 5
Joined: 11. Jan 2019, 02:01

Re: VirtualBox 6.0 on Mac OS 10.14.2 cannot access the Camera

Postby socratis » 12. Jan 2019, 12:41

bbooffa wrote:I have attached two log files requested.
Nope, no you didn't, you only attached the .vbox one, the log is AWOL :)

<Controller name="OHCI" type="OHCI"/>
Try to change the USB controller under VM Settings > Ports > USB, to USB2 or USB3 (preferably). That's why I wanted the VBox.log, to see if you have the Extension Pack installed. If you don't, you'll get a warning/error about it. You should download and install it.

And BTW, when testing things, don't go straight to Full Screen, start normal, make sure that it works, and then you go for the additional "goodies"...
<ExtraDataItem name="GUI/Fullscreen" value="true"/>
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 24208
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: VirtualBox 6.0 on Mac OS 10.14.2 cannot access the Camera

Postby bbooffa » 12. Jan 2019, 14:23

Thanks for the help.
I have attached the log file, finally ! :D

Anyway, when installing VB GA Installation, getting the following error.
VirtualBox Guest Additions: Building the modules for kernel 4.15.0-43-generic.

This system is currently not set up to build kernel modules.
Please install the gcc make perl packages from your distribution.
Attachments
My Ubuntu VM-2019-01-12-20-40-40.log.zip
(28.96 KiB) Downloaded 7 times
Last edited by socratis on 12. Jan 2019, 15:29, edited 1 time in total.
Reason: Enclosed the information in [quote] tags for better readability.
bbooffa
 
Posts: 5
Joined: 11. Jan 2019, 02:01

Re: VirtualBox 6.0 on Mac OS 10.14.2 cannot access the Camera

Postby socratis » 13. Jan 2019, 02:06

00:00:02.888177 Installed Extension Packs:
00:00:02.888202 None installed!
...
00:00:03.084579 [/Devices/usb-ohci/0/LUN#0/] (level 4))

@bbooffa, when I'm asking you to follow some steps to get the problem solved, I'm expecting that you will. And I told you:
socratis wrote:Try to change the USB controller under VM Settings > Ports > USB, to USB2 or USB3 (preferably). That's why I wanted the VBox.log, to see if you have the Extension Pack installed. If you don't, you'll get a warning/error about it. You should download and install it.
You didn't download the Extension Pack, you didn't enable USB2 or USB3 in your VM Settings... :roll:

bbooffa wrote:Anyway, when installing VB GA Installation, getting the following error.
I'm sorry, but not "Anyway", not on the same thread. First solve the camera issue and if you have another problem you open a new thread, with an appropriate title.

But before you even do that, read the error message:
Please install the gcc make perl packages from your distribution.
Follow the instructions and there's not going to be any more "Anyway"...
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 24208
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5


Return to VirtualBox on Mac OS X Hosts

Who is online

Users browsing this forum: Baku and 13 guests