블루투스를 다시 시작할 수 없습니다. 나는 시도했다:
sudo service restart bluetooth
sudo service stop bluetooth
systemctl stop bluetooth
sudo kill -9 <bluetoothd-pid>
하지만 systemctl status bluetooth
여전히 다음을 반환합니다.
× bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: failed (Result: timeout) since Fri 2022-10-14 21:03:19 CEST; 20min ago
Docs: man:bluetoothd(8)
Main PID: 1728
Status: "Running"
Tasks: 1 (limit: 9238)
Memory: 2.9M
CPU: 217ms
CGroup: /system.slice/bluetooth.service
└─1728 /usr/lib/bluetooth/bluetoothd
okt 14 20:57:18 MCY580 systemd[1]: Stopping Bluetooth service...
okt 14 20:58:48 MCY580 systemd[1]: bluetooth.service: State 'stop-sigterm' timed out. Killing.
okt 14 20:58:48 MCY580 systemd[1]: bluetooth.service: Killing process 1728 (bluetoothd) with …GKILL.
okt 14 21:00:18 MCY580 systemd[1]: bluetooth.service: Processes still around after SIGKILL. I…oring.
okt 14 21:01:48 MCY580 systemd[1]: bluetooth.service: State 'final-sigterm' timed out. Killing.
okt 14 21:01:48 MCY580 systemd[1]: bluetooth.service: Killing process 1728 (bluetoothd) with …GKILL.
okt 14 21:03:19 MCY580 systemd[1]: bluetooth.service: Processes still around after final SIGK… mode.
okt 14 21:03:19 MCY580 systemd[1]: bluetooth.service: Failed with result 'timeout'.
okt 14 21:03:19 MCY580 systemd[1]: bluetooth.service: Unit process 1728 (bluetoothd) remains …opped.
okt 14 21:03:19 MCY580 systemd[1]: Stopped Bluetooth service.
Hint: Some lines were ellipsized, use -l to show in full.
ps aux에서는 여전히 실행 중인 것을 볼 수 있습니다 bletoothd
.
ps aux | grep bluetoothd
root 1728 0.0 0.0 10624 5320 ? Ds 19:09 0:00 /usr/lib/bluetooth/bluetoothd
dmesg
내가 볼 수 있는 것 :
[ 4944.030004] Bluetooth: hci0: command 0x0406 tx timeout
이것을 시도했지만 sudo strace -p1728
mi 터미널이 정지되어 닫힐 수 없습니다.
~$ sudo strace -p1728
strace: Process 1728 attached
ubnutu 22.04.1 LTS
최근 에 18.04
.