You are not logged in.

#1 2024-07-16 21:28:51

Wild Penguin
Member
Registered: 2015-03-19
Posts: 341

Bluetooth service sometimes stops right after starting on reboot

Hi!

Apologies if this is the wrong section (I was not sure which is the right one).

After a while, bluetooth.service sometimes, but not always, stops after starting.

The system log is not useful. It just states it's Terminating and then stops. Here, after a fresh reboot, the issue happens, and at 00:25:48 I'm starting the service manually (remotely, I don't have a non-bluetooth KB handy):

LANG=C journalctl -b0 -u bluetooth.service 
Jul 17 00:21:05 archnuke systemd[1]: Starting Bluetooth service...
Jul 17 00:21:05 archnuke (uetoothd)[639]: bluetooth.service: ConfigurationDirectory 'bluetooth' already exists but the mode is different. (File system: 755 ConfigurationDirectoryMode: 555)
Jul 17 00:21:05 archnuke bluetoothd[639]: Bluetooth daemon 5.77
Jul 17 00:21:05 archnuke bluetoothd[639]: Starting SDP server
Jul 17 00:21:05 archnuke systemd[1]: Started Bluetooth service.
Jul 17 00:21:05 archnuke bluetoothd[639]: src/plugin.c:init_plugin() System does not support bap plugin
Jul 17 00:21:05 archnuke bluetoothd[639]: src/plugin.c:init_plugin() System does not support bass plugin
Jul 17 00:21:05 archnuke bluetoothd[639]: src/plugin.c:init_plugin() System does not support mcp plugin
Jul 17 00:21:05 archnuke bluetoothd[639]: src/plugin.c:init_plugin() System does not support vcp plugin
Jul 17 00:21:05 archnuke bluetoothd[639]: profiles/audio/micp.c:micp_init() D-Bus experimental not enabled
Jul 17 00:21:05 archnuke bluetoothd[639]: src/plugin.c:init_plugin() System does not support micp plugin
Jul 17 00:21:05 archnuke bluetoothd[639]: src/plugin.c:init_plugin() System does not support ccp plugin
Jul 17 00:21:05 archnuke bluetoothd[639]: src/plugin.c:init_plugin() System does not support csip plugin
Jul 17 00:21:05 archnuke bluetoothd[639]: src/plugin.c:init_plugin() System does not support asha plugin
Jul 17 00:21:05 archnuke bluetoothd[639]: Bluetooth management interface 1.22 initialized
Jul 17 00:21:06 archnuke bluetoothd[639]: Battery Provider Manager created
Jul 17 00:21:32 archnuke bluetoothd[639]: Terminating
Jul 17 00:21:32 archnuke systemd[1]: Stopping Bluetooth service...
Jul 17 00:21:32 archnuke bluetoothd[639]: Battery Provider Manager destroyed
Jul 17 00:21:32 archnuke bluetoothd[639]: Stopping SDP server
Jul 17 00:21:32 archnuke bluetoothd[639]: Exit
Jul 17 00:21:32 archnuke systemd[1]: bluetooth.service: Deactivated successfully.
Jul 17 00:21:32 archnuke systemd[1]: Stopped Bluetooth service.
Jul 17 00:25:48 archnuke systemd[1]: Starting Bluetooth service...
Jul 17 00:25:48 archnuke (uetoothd)[1803]: bluetooth.service: ConfigurationDirectory 'bluetooth' already exists but the mode is different. (File system: 755 ConfigurationDirectoryMode: 555)
Jul 17 00:25:48 archnuke bluetoothd[1803]: Bluetooth daemon 5.77
Jul 17 00:25:48 archnuke systemd[1]: Started Bluetooth service.
Jul 17 00:25:48 archnuke bluetoothd[1803]: Starting SDP server
Jul 17 00:25:48 archnuke bluetoothd[1803]: src/plugin.c:init_plugin() System does not support bap plugin
Jul 17 00:25:48 archnuke bluetoothd[1803]: src/plugin.c:init_plugin() System does not support bass plugin
Jul 17 00:25:48 archnuke bluetoothd[1803]: src/plugin.c:init_plugin() System does not support mcp plugin
Jul 17 00:25:48 archnuke bluetoothd[1803]: src/plugin.c:init_plugin() System does not support vcp plugin
Jul 17 00:25:48 archnuke bluetoothd[1803]: profiles/audio/micp.c:micp_init() D-Bus experimental not enabled
Jul 17 00:25:48 archnuke bluetoothd[1803]: src/plugin.c:init_plugin() System does not support micp plugin
Jul 17 00:25:48 archnuke bluetoothd[1803]: src/plugin.c:init_plugin() System does not support ccp plugin
Jul 17 00:25:48 archnuke bluetoothd[1803]: src/plugin.c:init_plugin() System does not support csip plugin
Jul 17 00:25:48 archnuke bluetoothd[1803]: src/plugin.c:init_plugin() System does not support asha plugin
Jul 17 00:25:48 archnuke bluetoothd[1803]: Bluetooth management interface 1.22 initialized
Jul 17 00:25:48 archnuke bluetoothd[1803]: Battery Provider Manager created
Jul 17 00:25:48 archnuke bluetoothd[1803]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSource/ldac
Jul 17 00:25:48 archnuke bluetoothd[1803]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSink/aptx_hd
Jul 17 00:25:48 archnuke bluetoothd[1803]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSource/aptx_hd
Jul 17 00:25:48 archnuke bluetoothd[1803]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSink/aptx
Jul 17 00:25:48 archnuke bluetoothd[1803]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSource/aptx
Jul 17 00:25:48 archnuke bluetoothd[1803]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSink/aac
Jul 17 00:25:48 archnuke bluetoothd[1803]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSource/aac
Jul 17 00:25:48 archnuke bluetoothd[1803]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSink/opus_g
Jul 17 00:25:48 archnuke bluetoothd[1803]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSource/opus_g
Jul 17 00:25:48 archnuke bluetoothd[1803]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSink/sbc
Jul 17 00:25:48 archnuke bluetoothd[1803]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSource/sbc
Jul 17 00:25:48 archnuke bluetoothd[1803]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSource/aptx_ll_1
Jul 17 00:25:48 archnuke bluetoothd[1803]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSource/aptx_ll_0
Jul 17 00:25:48 archnuke bluetoothd[1803]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_1
Jul 17 00:25:48 archnuke bluetoothd[1803]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_0
Jul 17 00:25:48 archnuke bluetoothd[1803]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSource/faststream
Jul 17 00:25:48 archnuke bluetoothd[1803]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSource/faststream_duplex
Jul 17 00:25:48 archnuke bluetoothd[1803]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSink/opus_05
Jul 17 00:25:48 archnuke bluetoothd[1803]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSource/opus_05
Jul 17 00:25:48 archnuke bluetoothd[1803]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSink/opus_05_duplex
Jul 17 00:25:48 archnuke bluetoothd[1803]: Endpoint registered: sender=:1.60 path=/MediaEndpoint/A2DPSource/opus_05_duplex

It seems bluetooth will always work if I restart it manually, and it will never stop later on during system use. I suppose I could put a start in root crontab for an ugly workaround.

Any ideas how to troubleshoot this further?

Thanks!

Last edited by Wild Penguin (2024-07-16 21:29:37)

Offline

#2 2024-07-17 08:48:56

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 22,640

Re: Bluetooth service sometimes stops right after starting on reboot

TLP or so installed? They can be configured to disable BT (on BAT/AC) and that might be an effect of that. systemd-rfkill "restoring" an off state?

Offline

Board footer

Powered by FluxBB