我已经安装了 Ubuntu 20.04,但蓝牙对我不起作用。但是如果我从 USB 启动它,它可以在实时会话中工作。有人可以帮我吗?
systemctl | grep -i blue 输出:
sys-devices-pci0000:00-0000:00:14.0-usb1-1\x2d14-1\x2d14:1.0-bluetooth-hci0.device loaded active plugged /sys/devices/pci0000:00/0000:00:14.0/usb1/1-14/1-14:1.0/bluetooth/hci0
sys-subsystem-bluetooth-devices-hci0.device loaded active plugged /sys/subsystem/bluetooth/devices/hci0
bluetooth.service loaded active running Bluetooth service
bluetooth.target loaded active active Bluetooth
Run Code Online (Sandbox Code Playgroud)
dmesg | grep -i blue 输出:
[ 2.309059] Bluetooth: Core ver 2.22
[ 2.309071] Bluetooth: HCI device and connection manager initialized
[ 2.309073] Bluetooth: HCI socket layer initialized
[ 2.309074] Bluetooth: L2CAP socket layer initialized
[ 2.309076] Bluetooth: SCO socket layer initialized
[ 3.413708] Bluetooth: BNEP (Ethernet Emulation) …Run Code Online (Sandbox Code Playgroud) 我使用的是 Ubuntu 20.04,我拥有一对 Airpod pro。
Ubuntu 检测到设备但无法配对/设置/连接。我知道这一点,因为当我点击它时,它有一个旋转的标志,就像它试图连接一样,然后它只是返回到默认的“未设置”。
我遵循了这里设置 ControllerMode 的建议,我尝试了“dual”和“le”,但都没有成功。
kay@khan:~$ sudo /etc/init.d/bluetooth status
? bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2020-05-17 18:13:04 BST; 2s ago
Docs: man:bluetoothd(8)
Main PID: 2808 (bluetoothd)
Status: "Running"
Tasks: 1 (limit: 18696)
Memory: 956.0K
CGroup: /system.slice/bluetooth.service
??2808 /usr/lib/bluetooth/bluetoothd
May 17 18:13:04 khan systemd[1]: Starting Bluetooth service...
May 17 18:13:04 khan bluetoothd[2808]: Bluetooth daemon 5.53
May 17 18:13:04 khan systemd[1]: Started Bluetooth service. …Run Code Online (Sandbox Code Playgroud)