Hi, I'm currently using VMware Workstation on my laptop.
I'm using Ubuntu 22.04 LTS as a guest, but there's no Bluetooth connection at all in the guest.
Although the hciconfig command displays information about the host's onboard Bluetooth adapter, Bluetooth-related actions such as bluemon or sdptool do not work at all.
How can I solve this problem? (Excluding purchasing a Bluetooth dongle.)
the result when i execute dmesg command below:
comalmot@comalmot-virtual-machine:~$ sudo dmesg | grep Bluetooth
[ 75.127405] Bluetooth: Core ver 2.22
[ 75.127472] Bluetooth: HCI device and connection manager initialized
[ 75.127478] Bluetooth: HCI socket layer initialized
[ 75.127480] Bluetooth: L2CAP socket layer initialized
[ 75.127486] Bluetooth: SCO socket layer initialized
[ 124.593155] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 124.593162] Bluetooth: BNEP filters: protocol multicast
[ 124.593169] Bluetooth: BNEP socket layer initialized
[ 161.152847] usb 1-2.1: Product: Virtual Bluetooth Adapter
[ 161.703303] Bluetooth: hci0: unexpected cc 0x0c12 length: 2 < 3
[ 161.703431] Bluetooth: hci0: Opcode 0x c12 failed: -38
Thank you for reading.
Finally I solved this issue using Ubuntu 20.04 LTS.
I think "Share Bluetooth Device with Virtual Machine" Feature isn't working on Ubuntu 22.04 LTS (in my personal case, So it cannot suiting other people)
it works very well
thank you for answering this issue.
First things first, I'm assuming that the Host operating system is windows based, so:
- check the Device Manager for the Bluetooth device/s, make sure they are working and take note of the type;
- Within the VMware Workstation Virtual Machine Settings, check that the USB Controller is Present and setup correctly.
. . . then refer: Sharing Bluetooth devices with a virtual machine (2005315)
Thank you for your answer.
Unfortunately, the USB controller on my Virtual Machine is currently Present, and it is working normally when I checked the status of my Bluetooth Adapter in Device Manager on Windows.
Did you follow the link provided previously . . . and is VMware Tools installed within the VM ?
setup VMware Tools in Linux, as sudo:
apt remove open-vm-tools-desktop open-vm-tools
apt install open-vm-tools-desktop open-vm-tools
My VMware Tools was installed, and when i change the type of USB Controller to USB 3.0 (i'm currently USB 2.0), it doesn't work well (hciconfig returns blank)
Finally I solved this issue using Ubuntu 20.04 LTS.
I think "Share Bluetooth Device with Virtual Machine" Feature isn't working on Ubuntu 22.04 LTS (in my personal case, So it cannot suiting other people)
it works very well
thank you for answering this issue.
