VMware Communities
QianbiaoNG
Contributor
Contributor
Jump to solution

USB bluetooth device failed to connect to other device in a VMware virtual os

I am running Vmware vm with Ubuntu 18 OS on a Window 10 system. A USB bluetooth device is plug in this Machine. Now I want to control this bluetooth device in Ubuntu 18 VM, but failed.

In Ubuntu VM, I can get bluetooth hardware info through:

# hcitool scan
Scanning ...
    70:EF:00:D0:AE:05   ****
    3C:CD:57:2C:94:4F   ****
    14:DE:39:E5:B2:F8   ****
    48:01:C5:06:DC:A2   ****

# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 005: ID 0e0f:0008 VMware, Inc.
Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


root@turnbig:~# lshw | grep Blue -C 10
                 *-usb:1
                      description: USB hub
                      product: VMware Virtual USB Hub
                      vendor: VMware, Inc.
                      physical id: 2
                      bus info: usb@2:2
                      version: 1.00
                      capabilities: usb-1.10
                      configuration: driver=hub slots=7 speed=12Mbit/s
                    *-usb
                         description: Bluetooth wireless interface
                         product: Virtual Bluetooth Adapter
                         vendor: VMware
                         physical id: 1
                         bus info: usb@2:2.1
                         version: 1.00
                         serial: 000650268328
                         capabilities: bluetooth usb-2.00
                         configuration: driver=btusb speed=12Mbit/s

But when i try to connect to other BT devices, it failed:

# bluetooth
bluetooth = on

# bluetoothctl
[NEW] Controller 44:AF:28:F5:2B:D3 ***** [default]
Agent registered
[bluetooth]# info 3C:CD:57:2C:94:4F
Device 3C:CD:57:2C:94:4F not available
[bluetooth]# connect 3C:CD:57:2C:94:4F
Device 3C:CD:57:2C:94:4F not available

I can connect to this BT device through host machine (Window 10)

thanks for any comment.

0 Kudos
1 Solution

Accepted Solutions
bluefirestorm
Champion
Champion
Jump to solution

If you want to connect the USB Bluetooth device from the Player -> Removeable Device menu, edit the VM settings; uncheck the “Share Bluetooth devices with the virtual machine” in the USB controller of the VM.

View solution in original post

0 Kudos
3 Replies
bluefirestorm
Champion
Champion
Jump to solution

If you want to connect the USB Bluetooth device from the Player -> Removeable Device menu, edit the VM settings; uncheck the “Share Bluetooth devices with the virtual machine” in the USB controller of the VM.

0 Kudos
QianbiaoNG
Contributor
Contributor
Jump to solution

thank you for your response.

After connect to removeable devices directly, it seems something changed. Player can pair device, but still can not connect to a BT device:

[bluetooth]# show
Controller 44:AF:28:F5:2B:D3 (public)
	Name: *******
	Alias: *******
	Class: 0x00000000
	Powered: yes
	Discoverable: yes
	Pairable: yes
	UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
	UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
	UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
	UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
	UUID: Generic Access Profile    (00001800-0000-1000-8000-00805f9b34fb)
	Modalias: usb:v1D6Bp0246d0530
	Discovering: yes
[bluetooth]# devices
Device 3C:CD:57:2C:94:4F *******
Device 48:01:C5:06:DC:A2 *******
[bluetooth]# pair 3C:CD:57:2C:94:4F
Attempting to pair with 3C:CD:57:2C:94:4F
Failed to pair: org.bluez.Error.AlreadyExists
[bluetooth]# pair
pair            pairable        paired-devices
[bluetooth]# paired-devices
Device 3C:CD:57:2C:94:4F *******
[bluetooth]# connect 3C:CD:57:2C:94:4F
Attempting to connect to 3C:CD:57:2C:94:4F
Failed to connect: org.bluez.Error.Failed

 

0 Kudos
QianbiaoNG
Contributor
Contributor
Jump to solution

It seems the protocol of target BT device is not support, after pulseaudio installed, connection successful

0 Kudos