Bluetoothサービスを再起動できません。

Bluetoothサービスを再起動できません。

Bluetoothを再起動できません。私は試した:

  • 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 -p1728mi端末が停止して閉じることができませんでした。

~$ sudo strace -p1728
strace: Process 1728 attached

ubnutu 22.04.1 LTS最近18.04

ベストアンサー1

おすすめ記事