Bluetooth virtualbox

clara -  
 clara -
Hello, I installed VirtualBox and on it Android86, the problem is that in the settings I can't click the button to enable Bluetooth.

My PC is equipped with Bluetooth (I use it on Ubuntu) but apparently VirtualBox does not detect it (I tried with Windows 10 under VirtualBox and it's the same)

Any idea? :)

Configuration: Linux / Firefox 96.0

2 answers

avion-f16 Posted messages 19182 Registration date   Status Contributor Last intervention   4 511
 
Hello,

A virtual machine does not directly use the hardware of its host machine. A "simple" VM has all its components fully virtualized through software (CPU, RAM, graphics card, network card, ...) and is independent of the host hardware. Thus, having a Bluetooth or WiFi card or any other hardware on the host does not indicate that the virtual machine has this hardware. For example, the virtualization software (VirtualBox) will simulate a "standard model" RJ-45 network card for the virtual machine even if the host accesses the Internet via WiFi. Another misconception is believing that the virtual machine runs games on the host's GPU, whereas it does not; the virtual machine only has a virtualized "standard VGA model" GPU running on the host's CPU.

It is possible to perform a "redirection" of host devices, whether they are USB, SATA (HDD/SSD storage), or even PCI components. This can depend on the virtualization software used. When this is done, the component in question is disconnected (inaccessible) to the host.

Furthermore, I can’t say much more at the moment as it depends on many factors:
• Is the Bluetooth card a PCI or USB component (internal/external)? Since you are on Linux, you can check this with
lsusb
and
lspci
.
• Is the Bluetooth card paired with the WiFi chip (same PCI/USB component)? This is often the case with Intel models. If so, redirecting the component will result in losing both WiFi and Bluetooth on the host.
• If it's a PCI component, it will be even more complicated
• There’s also the question of the Bluetooth component's support by the virtual machine's operating system.
0
brucine Posted messages 24677 Registration date   Status Member Last intervention   4 146
 
Hello,

Besides the fact that it is indeed not guaranteed that the Bluetooth component is recognized by android x86, it is considered impossible both with Virtual Box and with VMWare if the Bluetooth component is not USB, and even in this last case, Bluetooth communication is not necessarily guaranteed in both directions and is only documented for standard external devices (smartphones...)
0
clara
 
Thank you for your replies.

It seems quite compromised then, have a nice day :)
0