因此,我尝试使用我的无线耳机,但发现 Ubuntu 21.04 有一个错误:
\n\n\xe2\x97\x8f bluetooth.service - Bluetooth service\n Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)\n Active: active (running) since Wed 2021-05-26 07:40:51 MSK; 53min ago\n Docs: man:bluetoothd(8)\n Main PID: 822 (bluetoothd)\n Status: "Running"\n Tasks: 1 (limit: 8566)\n Memory: 1.8M\n CGroup: /system.slice/bluetooth.service\n \xe2\x94\x94\xe2\x94\x80822 /usr/lib/bluetooth/bluetoothd\n\nMay 26 07:40:47 UbuntuLinux bluetoothd[822]: Bluetooth daemon 5.56\nMay 26 07:40:47 UbuntuLinux systemd[1]: Starting Bluetooth service...\nMay 26 07:40:51 UbuntuLinux bluetoothd[822]: Starting SDP server\nMay 26 07:40:51 UbuntuLinux systemd[1]: Started Bluetooth service.\nMay 26 07:40:53 UbuntuLinux bluetoothd[822]: Bluetooth management interface 1.19 initialized\nMay 26 07:40:53 UbuntuLinux bluetoothd[822]: Failed to set mode: Blocked through rfkill (0x12)\nMay 26 07:41:24 UbuntuLinux bluetoothd[822]: Failed to set mode: Blocked through rfkill (0x12)\nMay 26 07:41:31 UbuntuLinux bluetoothd[822]: Endpoint registered: sender=:1.80 path=/MediaEndpoint/A2DPSink/sbc\nMay 26 07:41:31 UbuntuLinux bluetoothd[822]: Endpoint registered: sender=:1.80 path=/MediaEndpoint/A2DPSource/sbc\n
Run Code Online (Sandbox Code Playgroud)\n我该如何解决这个问题?
\n这对我有用
sudo rfkill unblock bluetooth
sudo systemctl stop bluetooth
sudo systemctl status bluetooth
sudo systemctl restart bluetooth
Run Code Online (Sandbox Code Playgroud)