You are not logged in.

#1 2023-12-29 21:44:06

860lacov
Member
Registered: 2020-05-02
Posts: 497

Bluetooth stopped working correctly in KDE Plasma

I'm not sure when it happened, but when I restart my system, I have to go to Bluetooth settings in Plasma settings and enable it there.

I have bluetooth.service enabled.
In /etc/bluetooth/main.conf AutoEnable is set to true.


systemctl status bluetooth
● bluetooth.service - Bluetooth service
     Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; preset: disabled)
     Active: active (running) since Fri 2023-12-29 22:32:26 CET; 1min 52s ago
       Docs: man:bluetoothd(8)
   Main PID: 1474 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 33258)
     Memory: 4.4M (peak: 4.8M)
        CPU: 325ms
     CGroup: /system.slice/bluetooth.service
             └─1474 /usr/lib/bluetooth/bluetoothd

gru 29 22:32:33 p14s bluetoothd[1474]: Endpoint registered: sender=:1.54 path=/MediaEndpoint/A2DPSource/ldac
gru 29 22:32:33 p14s bluetoothd[1474]: Endpoint registered: sender=:1.54 path=/MediaEndpoint/A2DPSink/aptx_hd
gru 29 22:32:33 p14s bluetoothd[1474]: Endpoint registered: sender=:1.54 path=/MediaEndpoint/A2DPSource/aptx_hd
gru 29 22:32:33 p14s bluetoothd[1474]: Endpoint registered: sender=:1.54 path=/MediaEndpoint/A2DPSink/aac
gru 29 22:32:33 p14s bluetoothd[1474]: Endpoint registered: sender=:1.54 path=/MediaEndpoint/A2DPSource/aac
gru 29 22:32:33 p14s bluetoothd[1474]: Endpoint registered: sender=:1.54 path=/MediaEndpoint/A2DPSink/sbc
gru 29 22:32:33 p14s bluetoothd[1474]: Endpoint registered: sender=:1.54 path=/MediaEndpoint/A2DPSource/sbc
gru 29 22:32:33 p14s bluetoothd[1474]: Endpoint registered: sender=:1.54 path=/MediaEndpoint/A2DPSource/aptx_ll_1
gru 29 22:32:33 p14s bluetoothd[1474]: Endpoint registered: sender=:1.54 path=/MediaEndpoint/A2DPSource/aptx_ll_0
gru 29 22:32:34 p14s bluetoothd[1474]: src/adv_monitor.c:btd_adv_monitor_power_down() Unexpected NULL btd_adv_monitor_manager object upon powe>
journalctl -xe | grep bluetooth
Dec 29 22:42:45 p14s kernel: thinkpad_acpi: rfkill switch tpacpi_bluetooth_sw: radio is unblocked
Dec 29 22:42:45 p14s NetworkManager[1248]: <info>  [1703886165.6302] Loaded device plugin: NMBluezManager (/usr/lib/NetworkManager/1.44.2-3/libnm-device-plugin-bluetooth.so)
-- Subject: A start job for unit bluetooth.service has begun execution
-- A start job for unit bluetooth.service has begun execution.
Dec 29 22:42:46 p14s bluetoothd[1483]: Bluetooth daemon 5.71
-- Subject: A start job for unit bluetooth.service has finished successfully
-- A start job for unit bluetooth.service has finished successfully.
Dec 29 22:42:46 p14s bluetoothd[1483]: Starting SDP server
-- Subject: A start job for unit bluetooth.target has finished successfully
-- A start job for unit bluetooth.target has finished successfully.
Dec 29 22:42:46 p14s bluetoothd[1483]: src/plugin.c:plugin_init() System does not support csip plugin
Dec 29 22:42:46 p14s bluetoothd[1483]: profiles/audio/micp.c:micp_init() D-Bus experimental not enabled
Dec 29 22:42:46 p14s bluetoothd[1483]: src/plugin.c:plugin_init() System does not support micp plugin
Dec 29 22:42:46 p14s bluetoothd[1483]: src/plugin.c:plugin_init() System does not support vcp plugin
Dec 29 22:42:46 p14s bluetoothd[1483]: src/plugin.c:plugin_init() System does not support mcp plugin
Dec 29 22:42:46 p14s bluetoothd[1483]: src/plugin.c:plugin_init() System does not support bass plugin
Dec 29 22:42:46 p14s bluetoothd[1483]: src/plugin.c:plugin_init() System does not support bap plugin
Dec 29 22:42:46 p14s bluetoothd[1483]: Bluetooth management interface 1.22 initialized
Dec 29 22:42:46 p14s bluetoothd[1483]: Battery Provider Manager created
Dec 29 22:42:46 p14s bluetoothd[1483]: src/device.c:device_set_wake_support() Unable to set wake_support without RPA resolution
Dec 29 22:42:46 p14s bluetoothd[1483]: Failed to load link keys for hci0: Invalid Parameters (0x0d)
Dec 29 22:42:46 p14s bluetoothd[1483]: src/device.c:set_wake_allowed_complete() Set device flags return status: Invalid Parameters
Dec 29 22:42:56 p14s bluetoothd[1483]: Endpoint registered: sender=:1.52 path=/MediaEndpoint/A2DPSource/ldac
Dec 29 22:42:56 p14s bluetoothd[1483]: Endpoint registered: sender=:1.52 path=/MediaEndpoint/A2DPSink/aptx_hd
Dec 29 22:42:56 p14s bluetoothd[1483]: Endpoint registered: sender=:1.52 path=/MediaEndpoint/A2DPSource/aptx_hd
Dec 29 22:42:56 p14s bluetoothd[1483]: Endpoint registered: sender=:1.52 path=/MediaEndpoint/A2DPSink/aac
Dec 29 22:42:56 p14s bluetoothd[1483]: Endpoint registered: sender=:1.52 path=/MediaEndpoint/A2DPSource/aac
Dec 29 22:42:56 p14s bluetoothd[1483]: Endpoint registered: sender=:1.52 path=/MediaEndpoint/A2DPSink/sbc
Dec 29 22:42:56 p14s bluetoothd[1483]: Endpoint registered: sender=:1.52 path=/MediaEndpoint/A2DPSource/sbc
Dec 29 22:42:56 p14s bluetoothd[1483]: Endpoint registered: sender=:1.52 path=/MediaEndpoint/A2DPSource/aptx_ll_1
Dec 29 22:42:56 p14s bluetoothd[1483]: Endpoint registered: sender=:1.52 path=/MediaEndpoint/A2DPSource/aptx_ll_0
Dec 29 22:42:56 p14s bluetoothd[1483]: src/adv_monitor.c:btd_adv_monitor_power_down() Unexpected NULL btd_adv_monitor_manager object upon power down

Offline

#2 2023-12-31 17:17:34

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,232

Re: Bluetooth stopped working correctly in KDE Plasma

Are you running TLP or similar and is it configured to disable bluetooth?

Online

#3 2024-01-03 21:29:46

860lacov
Member
Registered: 2020-05-02
Posts: 497

Re: Bluetooth stopped working correctly in KDE Plasma

V1del wrote:

Are you running TLP or similar and is it configured to disable bluetooth?

Yes, I use TLP. I only use it for setting the charging thresholds. The rest is default. Since installation, there hasn't been any issue with Bluetooth.

I have another topic on the forum - I have problem connecting to 6GHz Wi-Fi.

Something strange happened during network settings changes. Normally, when I have the thresholds set to 40/55% in TLP, the battery icon on the bottom taskbar (KDE Plasma) shows that the battery is charged at 55% - not charging.

After the changes regarding Wi-Fi (I can't reproduce those steps, and besides Wi-Fi, there might have been something else), this icon was hidden in KDE Plasma notifications with different information. It showed that the battery was charged (even though it was always at 55%).

It seemed as if the laptop didn't know it was connected to AC power. If that was the case, TLP might disable Bluetooth by default during battery charging. This could have been the issue, but as I mentioned, I can't reproduce it. For now, I've returned to the tested settings that are working.

Offline

Board footer

Powered by FluxBB