蓝牙突然停止工作 Ubuntu 20.04 - 没有可用的默认控制器

rko*_*har 9 bluetooth

蓝牙工作正常,有一天天气很好(没有任何变化),突然间,它无法从右上角的下拉列表中打开。标签从关闭变为打开,但在“蓝牙设置”中没有更改。我查了很多以前的帖子,但没有一个修复它。我像平常一样关闭电源并入睡,第二天早上醒来,它无法连接到我的耳机。

\n

硬件很好,因为它可以在 Windows 上运行。在 Ubuntu (20.04.1 LTS) 上,它已停止工作,并且我的笔记本电脑中没有任何变化。我已经在其他帖子中采用了一些之前建议的命令,并将输出发布到此处。

\n
rfkill list\n1: hci0: Bluetooth\n    Soft blocked: no\n    Hard blocked: no\n
Run Code Online (Sandbox Code Playgroud)\n
bluetoothctl\n[bluetooth]# show\nNo default controller available\n[bluetooth]# devices\nNo default controller available\n
Run Code Online (Sandbox Code Playgroud)\n

这表示蓝牙已处于活动状态,但这没有意义。

\n
systemctl status bluetooth\n\xe2\x97\x8f bluetooth.service - Bluetooth service\n     Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor pre>\n     Active: active (running) since Mon 2020-09-07 15:25:04 IST; 12min ago\n       Docs: man:bluetoothd(8)\n   Main PID: 1342 (bluetoothd)\n     Status: "Running"\n      Tasks: 1 (limit: 18918)\n     Memory: 2.2M\n     CGroup: /system.slice/bluetooth.service\n             \xe2\x94\x94\xe2\x94\x801342 /usr/lib/bluetooth/bluetoothd\n\nSep 07 15:25:04 rkochar-HP-ZBook-Studio-G5 systemd[1]: Starting Bluetooth servi>\nSep 07 15:25:04 rkochar-HP-ZBook-Studio-G5 bluetoothd[1342]: Bluetooth daemon 5>\nSep 07 15:25:04 rkochar-HP-ZBook-Studio-G5 systemd[1]: Started Bluetooth servic>\nSep 07 15:25:04 rkochar-HP-ZBook-Studio-G5 bluetoothd[1342]: Starting SDP server\nSep 07 15:25:04 rkochar-HP-ZBook-Studio-G5 bluetoothd[1342]: Bluetooth manageme>\nlines 1-16/16 (END)\n
Run Code Online (Sandbox Code Playgroud)\n
hcitool dev\nDevices:  #No output\n
Run Code Online (Sandbox Code Playgroud)\n
dmesg | grep -i bluetooth\n[   11.957363] Bluetooth: Core ver 2.22\n[   11.957382] Bluetooth: HCI device and connection manager initialized\n[   11.957385] Bluetooth: HCI socket layer initialized\n[   11.957387] Bluetooth: L2CAP socket layer initialized\n[   11.957388] Bluetooth: SCO socket layer initialized\n[   14.111156] Bluetooth: hci0: command 0xfc05 tx timeout\n[   14.111161] Bluetooth: hci0: Reading Intel version information failed (-110)\n[   14.278953] Bluetooth: BNEP (Ethernet Emulation) ver 1.3\n[   14.278954] Bluetooth: BNEP filters: protocol multicast\n[   14.278958] Bluetooth: BNEP socket layer initialized\n
Run Code Online (Sandbox Code Playgroud)\n
lsmod | grep blue\nbluetooth             581632  12 btrtl,btintel,btbcm,bnep,btusb\necdh_generic           16384  1 bluetooth\n
Run Code Online (Sandbox Code Playgroud)\n
bt-adapter -i\n**\nERROR:lib/bluez/adapter.c:165:adapter_get_dbus_object_path: assertion failed: (ADAPTER_IS(self))\nBail out! ERROR:lib/bluez/adapter.c:165:adapter_get_dbus_object_path: assertion failed: (ADAPTER_IS(self))\nAborted (core dumped)\n
Run Code Online (Sandbox Code Playgroud)\n
sudo bluetoothd -d -n\nbluetoothd[8710]: Bluetooth daemon 5.53\nbluetoothd[8710]: src/main.c:parse_config() parsing /etc/bluetooth/main.conf\nbluetoothd[8710]: src/main.c:parse_config() Key file does not have key \xe2\x80\x9cDiscoverableTimeout\xe2\x80\x9d in group \xe2\x80\x9cGeneral\xe2\x80\x9d\nbluetoothd[8710]: src/main.c:parse_config() Key file does not have key \xe2\x80\x9cAlwaysPairable\xe2\x80\x9d in group \xe2\x80\x9cGeneral\xe2\x80\x9d\nbluetoothd[8710]: src/main.c:parse_config() Key file does not have key \xe2\x80\x9cPairableTimeout\xe2\x80\x9d in group \xe2\x80\x9cGeneral\xe2\x80\x9d\nbluetoothd[8710]: src/main.c:parse_config() Key file does not have key \xe2\x80\x9cPrivacy\xe2\x80\x9d in group \xe2\x80\x9cGeneral\xe2\x80\x9d\nbluetoothd[8710]: src/main.c:parse_config() Key file does not have key \xe2\x80\x9cName\xe2\x80\x9d in group \xe2\x80\x9cGeneral\xe2\x80\x9d\nbluetoothd[8710]: src/main.c:parse_config() Key file does not have key \xe2\x80\x9cClass\xe2\x80\x9d in group \xe2\x80\x9cGeneral\xe2\x80\x9d\nbluetoothd[8710]: src/main.c:parse_config() Key file does not have key \xe2\x80\x9cDeviceID\xe2\x80\x9d in group \xe2\x80\x9cGeneral\xe2\x80\x9d\nbluetoothd[8710]: src/main.c:parse_config() Key file does not have key \xe2\x80\x9cReverseServiceDiscovery\xe2\x80\x9d in group \xe2\x80\x9cGeneral\xe2\x80\x9d\nbluetoothd[8710]: src/main.c:parse_config() Key file does not have group \xe2\x80\x9cGATT\xe2\x80\x9d\nbluetoothd[8710]: src/main.c:parse_config() Key file does not have group \xe2\x80\x9cGATT\xe2\x80\x9d\nbluetoothd[8710]: src/main.c:parse_config() Key file does not have group \xe2\x80\x9cGATT\xe2\x80\x9d\nD-Bus setup failed: Name already in use\nbluetoothd[8710]: Unable to get on D-Bus\n
Run Code Online (Sandbox Code Playgroud)\n

我看过以前的帖子建议:

\n
sudo systemctl enable bluetooth.service\nsudo systemctl start bluetooth.service\n
Run Code Online (Sandbox Code Playgroud)\n

这没有帮助,它已经添加(groupadd),因为它以前有效,我再次检查。

\n

rfkill unblock bluetooth不起作用,因为rfkill list没有任何内容被阻止。

\n

重申一下,它以前运行良好(一年多了),并且在 Windows 上仍然运行良好。是蓝牙设置的屏幕截图(如果有任何用处)。

\n

我感谢任何和所有的帮助!如果需要更多信息或不清楚的地方,请告诉我。

\n

rko*_*har -1

重新启动解决了这个问题(对我来说),就像其他人所说的那样,选择一个旧的内核,这再次需要重新启动。