USB 蓝牙设备无法连接到 VMware 虚拟中的其他设备 os

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

我是 运行 Vmware 虚拟机 Ubuntu 18 OS Window 10 系统。 USB 蓝牙设备已插入本机。现在我想在 Ubuntu 18 个虚拟机中控制这个蓝牙设备,但是失败了。

在Ubuntu VM中,我可以通过以下方式获取蓝牙硬件信息:

# 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

但是当我尝试连接到其他 BT 设备时,失败并显示“设备 3C:CD:57:2C:94:4F 不可用”,3C:CD:57:2C:94:4F 是要连接的目标蓝牙设备:

# 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

我可以通过主机连接到这个BT设备(Window 10)

感谢您的评论。

问题已修复,原解为post here.

要从 VMware guest OS 使用 USB 蓝牙,我们不能将蓝牙共享给 guest,我们应该将可移除的蓝牙设备直接连接到 guest。