我购买了一个蓝牙 USB,它在 Windows(双启动)中可以正常工作,但在我的 Ubuntu 中却不行。
$ sudo systemctl status bluetooth.service
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2021-12-25 01:46:33 -03; 21h ago
Docs: man:bluetoothd(8)
Main PID: 719 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 38375)
Memory: 1.5M
CGroup: /system.slice/bluetooth.service
└─719 /usr/lib/bluetooth/bluetoothd
dez 25 01:46:33 g-Z390-M systemd[1]: Starting Bluetooth service...
dez 25 01:46:33 g-Z390-M bluetoothd[719]: Bluetooth daemon 5.53
dez 25 01:46:33 g-Z390-M systemd[1]: Started Bluetooth service.
dez 25 01:46:33 g-Z390-M bluetoothd[719]: Starting SDP server
dez 25 01:46:33 g-Z390-M bluetoothd[719]: Bluetooth management interface 1.19 initialized
但当使用 blueman 时,我得到以下结果
$ blueman-manager
blueman-manager version 2.1.2 starting
Failed to enable bluetooth
blueman-manager 22.59.46 ERROR Manager:118 on_dbus_name_appeared: Default adapter not found, trying first available.
blueman-manager 22.59.46 ERROR Manager:122 on_dbus_name_appeared: No adapter(s) found, exiting
我使用的是 Ubuntu 20.04.3 LTS,内核为 5.11.0-43-generic。以下内容适用
$ lsmod | grep -i blu
bluetooth 638976 12 btrtl,btintel,btbcm,bnep,btusb
ecdh_generic 16384 1 bluetoot
$ sudo rfkill list
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
$ lsusb
Bus 001 Device 004: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)