https://bugs.kde.org/show_bug.cgi?id=503431

--- Comment #9 from otiskujawa <otis.kuj...@gmail.com> ---
After reboot, plasmashell still freezes if bluetooth backend is enabled but no
adapter is present.

```
○ bluetooth.service - Bluetooth service
     Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled;
preset: disabled)
     Active: inactive (dead)
       Docs: man:bluetoothd(8)

Jun 09 17:32:09 raphael systemd[1]: Bluetooth service was skipped because of an
unmet condition check (ConditionPathIsDirectory=/sys/class/bluetooth).
Jun 09 17:32:32 raphael systemd[1]: Bluetooth service was skipped because of an
unmet condition check (ConditionPathIsDirectory=/sys/class/bluetooth).
Jun 09 17:33:46 raphael systemd[1]: Bluetooth service was skipped because of an
unmet condition check (ConditionPathIsDirectory=/sys/class/bluetooth).

$ find /sys/class/bluetooth/*/
find: ‘/sys/class/bluetooth/*/’: No such file or directory

$ bluetoothctl 
Waiting to connect to bluetoothd...
```
Bluetoothctl command doesn't exit still waiting for bluetoothd

So i decided to check with (cheap) usb bluetooth adapter
And plasmashell issue disappears

```
dmesg:
[  473.900943] usb 1-3: new full-speed USB device number 9 using xhci_hcd
[  474.269418] usb 1-3: New USB device found, idVendor=0a12, idProduct=0001,
bcdDevice=88.91
[  474.269424] usb 1-3: New USB device strings: Mfr=0, Product=2,
SerialNumber=0
[  474.269426] usb 1-3: Product: CSR8510 A10
[  474.345231] usbcore: registered new interface driver btusb
[  474.347455] Bluetooth: hci0: CSR: Setting up dongle with HCI ver=6 rev=22bb
[  474.347459] Bluetooth: hci0: LMP ver=6 subver=22bb; manufacturer=10
[  474.404627] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[  474.404631] Bluetooth: BNEP filters: protocol multicast
[  474.404636] Bluetooth: BNEP socket layer initialized
[  474.570630] Bluetooth: MGMT ver 1.23
[  474.578074] Bluetooth: RFCOMM TTY layer initialized
[  474.578085] Bluetooth: RFCOMM socket layer initialized
[  474.578089] Bluetooth: RFCOMM ver 1.11

$ find /sys/class/bluetooth/*/
/sys/class/bluetooth/hci0/
/sys/class/bluetooth/hci0/uevent
/sys/class/bluetooth/hci0/power
/sys/class/bluetooth/hci0/power/runtime_active_time
/sys/class/bluetooth/hci0/power/runtime_status
/sys/class/bluetooth/hci0/power/autosuspend_delay_ms
/sys/class/bluetooth/hci0/power/runtime_suspended_time
/sys/class/bluetooth/hci0/power/control
/sys/class/bluetooth/hci0/reset
/sys/class/bluetooth/hci0/rfkill0
/sys/class/bluetooth/hci0/rfkill0/uevent
/sys/class/bluetooth/hci0/rfkill0/hard_block_reasons
/sys/class/bluetooth/hci0/rfkill0/soft
/sys/class/bluetooth/hci0/rfkill0/power
/sys/class/bluetooth/hci0/rfkill0/power/runtime_active_time
/sys/class/bluetooth/hci0/rfkill0/power/runtime_status
/sys/class/bluetooth/hci0/rfkill0/power/autosuspend_delay_ms
/sys/class/bluetooth/hci0/rfkill0/power/runtime_suspended_time
/sys/class/bluetooth/hci0/rfkill0/power/control
/sys/class/bluetooth/hci0/rfkill0/device
/sys/class/bluetooth/hci0/rfkill0/index
/sys/class/bluetooth/hci0/rfkill0/type
/sys/class/bluetooth/hci0/rfkill0/subsystem
/sys/class/bluetooth/hci0/rfkill0/state
/sys/class/bluetooth/hci0/rfkill0/hard
/sys/class/bluetooth/hci0/rfkill0/name
/sys/class/bluetooth/hci0/rfkill0/persistent
/sys/class/bluetooth/hci0/device
/sys/class/bluetooth/hci0/subsystem

● bluetooth.service - Bluetooth service
     Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled;
preset: disabled)
     Active: active (running) since Mon 2025-06-09 17:39:51 CEST; 1min 28s ago
 Invocation: 55f96cf727654cfe92beaecae8c53811
       Docs: man:bluetoothd(8)
   Main PID: 18140 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 38278)
     Memory: 2.1M (peak: 2.9M)
        CPU: 41ms
     CGroup: /system.slice/bluetooth.service
             └─18140 /usr/lib/bluetooth/bluetoothd

Jun 09 17:39:51 raphael bluetoothd[18140]: Endpoint registered: sender=:1.50
path=/MediaEndpoint/A2DPSource/aptx_ll_1
Jun 09 17:39:51 raphael bluetoothd[18140]: Endpoint registered: sender=:1.50
path=/MediaEndpoint/A2DPSource/aptx_ll_0
Jun 09 17:39:51 raphael bluetoothd[18140]: Endpoint registered: sender=:1.50
path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_1
Jun 09 17:39:51 raphael bluetoothd[18140]: Endpoint registered: sender=:1.50
path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_0
Jun 09 17:39:51 raphael bluetoothd[18140]: Endpoint registered: sender=:1.50
path=/MediaEndpoint/A2DPSource/faststream
Jun 09 17:39:51 raphael bluetoothd[18140]: Endpoint registered: sender=:1.50
path=/MediaEndpoint/A2DPSource/faststream_duplex
Jun 09 17:39:51 raphael bluetoothd[18140]: Endpoint registered: sender=:1.50
path=/MediaEndpoint/A2DPSink/opus_05
Jun 09 17:39:51 raphael bluetoothd[18140]: Endpoint registered: sender=:1.50
path=/MediaEndpoint/A2DPSource/opus_05
Jun 09 17:39:51 raphael bluetoothd[18140]: Endpoint registered: sender=:1.50
path=/MediaEndpoint/A2DPSink/opus_05_duplex
Jun 09 17:39:51 raphael bluetoothd[18140]: Endpoint registered: sender=:1.50
path=/MediaEndpoint/A2DPSource/opus_05_duplex
```
So app works fine but plasmashell freezes some time after starting if no
adapter is present.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to