Opened 5 years ago
Closed 5 years ago
#19094 closed enhancement (invalid)
Mac OS setting will prevent a USB Bluetooth adaptor being available to VB guests
| Reported by: | oli-j | Owned by: | |
|---|---|---|---|
| Component: | USB | Version: | VirtualBox 6.0.14 |
| Keywords: | bluetooth, usb | Cc: | |
| Guest type: | all | Host type: | Mac OS X |
Description
By default the action of pugging in a USB Bluetooth adaptor to a Mac running newer versions of Mac OS will cause the OS to switch the primary system bluetooth radio over to the newly plugged in adaptor.
By setting the following NVRAM boot option it is possible to stop this behaviour:
sudo nvram bluetoothHostControllerSwitchBehavior=never
With this boot option set to 'never' VB USB device filters (or manual selection of the USB device) will now be honoured for USB Bluetooth adaptors and they are then successfully made available for guest OS.
See my thread in the VB support forum here: https://forums.virtualbox.org/viewtopic.php?f=8&t=95479&p=463214#p463214
Is it possible for VB to set this configuration via a setting in the VB UI?
Could this then be built into the UI of future versions of VB with a menu option.. e.g.:
"Do you want new USB Bluetooth adaptors to be captured by the guest or host?" with select options/ drop down: *Guest*/*Host*
Change History (1)
comment:1 by , 5 years ago
| Guest type: | Windows → all |
|---|---|
| Resolution: | → invalid |
| Status: | new → closed |


Replying to oli-j:
That would be a huge "No way!". No application is allowed to change the NVRAM settings of an OSX system directly, not even Apple!
OK, maybe Apple, for limited options only, like the boot device, boot up volume level and a couple of minor other ones. For the rest, you have to boot into single-user mode and manipulate the NVRAM settings from a 'root' account in the Terminal.
Again the answer would be "No way!", see above.
You could have simply asked in the related thread in the forums, no need for an [Invalid] ticket.