You are not logged in.

#1 2025-03-22 07:18:02

rickyext
Member
Registered: 2024-05-30
Posts: 4

[SOLVED] KDE Plasma Failed to reconnect bluetooth keyboard recently

Hi I just got this issue recently, whenever my system rebooted / log off my bluetooth keyboard disconnected and I cannot reconnect again.
The error message is:

Failed to connect: org.bluez.Error.Failed le-connection-abort-by-local.

I used KDE, and using bluedevil has same result. So every time i logged in my system I need to reconnect my keyboard manually using

bluetoothctl

Here is the step and logs:

pair FA:59:F1:CD:F0:93 
[CHG] Device FA:59:F1:CD:F0:93 Connected: yes
[agent] Passkey: 412109
[CHG] Device FA:59:F1:CD:F0:93 UUIDs: 00001800-0000-1000-8000-00805f9b34fb
[CHG] Device FA:59:F1:CD:F0:93 UUIDs: 00001801-0000-1000-8000-00805f9b34fb
[CHG] Device FA:59:F1:CD:F0:93 UUIDs: 0000180a-0000-1000-8000-00805f9b34fb
[CHG] Device FA:59:F1:CD:F0:93 UUIDs: 0000180f-0000-1000-8000-00805f9b34fb
[CHG] Device FA:59:F1:CD:F0:93 UUIDs: 00001812-0000-1000-8000-00805f9b34fb
[CHG] Device FA:59:F1:CD:F0:93 UUIDs: 00010000-0000-1000-8000-011f2000046d
[CHG] Device FA:59:F1:CD:F0:93 ServicesResolved: yes
[CHG] Device FA:59:F1:CD:F0:93 Bonded: yes
[CHG] Device FA:59:F1:CD:F0:93 Paired: yes
Pairing successful
[CHG] Device FA:59:F1:CD:F0:93 Modalias: usb:v046DpB34Cd0014

[Keyboard K370/K375]> trust FA:59:F1:CD:F0:93 
[CHG] Device FA:59:F1:CD:F0:93 Trusted: yes
Changing FA:59:F1:CD:F0:93 trust succeeded

[Keyboard K370/K375]> connect FA:59:F1:CD:F0:93 
Attempting to connect to FA:59:F1:CD:F0:93
Connection successful

[Keyboard K370/K375]> disconnect FA:59:F1:CD:F0:93 
Attempting to disconnect from FA:59:F1:CD:F0:93
[CHG] Device FA:59:F1:CD:F0:93 ServicesResolved: no
[CHG] Device FA:59:F1:CD:F0:93 Connected: no
Disconnection successful

[bluetoothctl]> connect FA:59:F1:CD:F0:93 
Attempting to connect to FA:59:F1:CD:F0:93
Failed to connect: org.bluez.Error.Failed le-connection-abort-by-local

LOGS using btmon

> HCI Event: Number of Completed Packets (0x13) plen 5                     #284 [hci0] 49.078280
        Num handles: 1
        Handle: 3585 Address: FA:59:F1:CD:F0:93 (Static)
        Count: 1
        #283: len 9 (3 Kb/s)
        Latency: 21 msec (3-513 msec ~21 msec)

> HCI Event: Number of Completed Packets (0x13) plen 5                     #289 [hci0] 49.122368
        Num handles: 1
        Handle: 3585 Address: FA:59:F1:CD:F0:93 (Static)
        Count: 1
        #288: len 9 (3 Kb/s)
        Latency: 20 msec (3-513 msec ~21 msec)

> HCI Event: Number of Completed Packets (0x13) plen 5                     #292 [hci0] 49.167413
        Num handles: 1
        Handle: 3585 Address: FA:59:F1:CD:F0:93 (Static)
        Count: 1
        #291: len 9 (3 Kb/s)
        Latency: 20 msec (3-513 msec ~20 msec)

> HCI Event: Number of Completed Packets (0x13) plen 5                     #295 [hci0] 49.212278
        Num handles: 1
        Handle: 3585 Address: FA:59:F1:CD:F0:93 (Static)
        Count: 1
        #294: len 9 (3 Kb/s)
        Latency: 19 msec (3-513 msec ~20 msec)

> HCI Event: Number of Completed Packets (0x13) plen 5                     #298 [hci0] 49.280312
        Num handles: 1
        Handle: 3585 Address: FA:59:F1:CD:F0:93 (Static)
        Count: 1
        #297: len 9 (3 Kb/s)
        Latency: 19 msec (3-513 msec ~19 msec)

bluetoothd[487]: @ MGMT Command: Disconnect (0x0014) plen 7            {0x0001} [hci0] 68.330632
        LE Address: FA:59:F1:CD:F0:93 (Static)
< HCI Command: Disconnect (0x01|0x0006) plen 3                             #344 [hci0] 68.330715
        Handle: 3585 Address: FA:59:F1:CD:F0:93 (Static)
        Reason: Remote User Terminated Connection (0x13)
> HCI Event: Command Status (0x0f) plen 4                                  #345 [hci0] 68.331321
      Disconnect (0x01|0x0006) ncmd 1
        Status: Success (0x00)

> HCI Event: Disconnect Complete (0x05) plen 4                             #347 [hci0] 68.406496
        Status: Success (0x00)
        Handle: 3585 Address: FA:59:F1:CD:F0:93 (Static)
        Reason: Connection Terminated By Local Host (0x16)
@ MGMT Event: Device Disconnected (0x000c) plen 8                      {0x0001} [hci0] 68.406605
        LE Address: FA:59:F1:CD:F0:93 (Static)
        Reason: Connection terminated by local host (0x02)
@ MGMT Event: Command Complete (0x0001) plen 10                        {0x0001} [hci0] 68.431463
      Disconnect (0x0014) plen 7
        Status: Success (0x00)
        LE Address: FA:59:F1:CD:F0:93 (Static)

< HCI Command: LE Add Device To Resolving List (0x08|0x0027) plen 39       #369 [hci0] 79.017730
        Address type: Random (0x01)
        Address: FA:59:F1:CD:F0:93 (Static)
        Peer identity resolving key[16]: d01cf035888c3b309309194eda195701
        Local identity resolving key[16]: 00000000000000000000000000000000
> HCI Event: Command Complete (0x0e) plen 4                                #370 [hci0] 79.018307
      LE Add Device To Resolving List (0x08|0x0027) ncmd 1
        Status: Success (0x00)
< HCI Command: LE Set Address Resolution Enable (0x08|0x002d) plen 1       #371 [hci0] 79.018478
        Address resolution: Enabled (0x01)
> HCI Event: Command Complete (0x0e) plen 4                                #372 [hci0] 79.019309
      LE Set Address Resolution Enable (0x08|0x002d) ncmd 1
        Status: Success (0x00)
< HCI Command: LE Set Scan Parameters (0x08|0x000b) plen 7                 #373 [hci0] 79.019541
        Type: Passive (0x00)
        Interval: 60.000 msec (0x0060)
        Window: 60.000 msec (0x0060)
        Own address type: Public (0x00)
        Filter policy: Ignore not in accept list (0x01)
> HCI Event: Command Complete (0x0e) plen 4                                #374 [hci0] 79.020308
      LE Set Scan Parameters (0x08|0x000b) ncmd 1
        Status: Success (0x00)
< HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2                     #375 [hci0] 79.020531
        Scanning: Enabled (0x01)
        Filter duplicates: Enabled (0x01)
> HCI Event: Command Complete (0x0e) plen 4                                #376 [hci0] 79.021316
      LE Set Scan Enable (0x08|0x000c) ncmd 2
        Status: Success (0x00)
bluetoothd[487]: @ MGMT Command: Start Discovery (0x0023) plen 1       {0x0001} [hci0] 84.316692
        Address type: 0x07
          BR/EDR
          LE Public
          LE Random
< HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2                     #377 [hci0] 84.316885
        Scanning: Disabled (0x00)
        Filter duplicates: Disabled (0x00)
> HCI Event: Command Complete (0x0e) plen 4                                #378 [hci0] 84.337397
      LE Set Scan Enable (0x08|0x000c) ncmd 2
        Status: Success (0x00)
< HCI Command: LE Set Address Resolution Enable (0x08|0x002d) plen 1       #379 [hci0] 84.337649
        Address resolution: Disabled (0x00)
> HCI Event: Command Complete (0x0e) plen 4                                #380 [hci0] 84.338371
      LE Set Address Resolution Enable (0x08|0x002d) ncmd 1
        Status: Success (0x00)
< HCI Command: LE Set Random Address (0x08|0x0005) plen 6                  #381 [hci0] 84.338572
        Address: 10:99:3C:DE:24:CE (Non-Resolvable)
> HCI Event: Command Complete (0x0e) plen 4                                #382 [hci0] 84.339333
      LE Set Random Address (0x08|0x0005) ncmd 1
        Status: Success (0x00)
< HCI Command: LE Set Scan Parameters (0x08|0x000b) plen 7                 #383 [hci0] 84.339520
        Type: Active (0x01)
        Interval: 22.500 msec (0x0024)
        Window: 11.250 msec (0x0012)
        Own address type: Random (0x01)
        Filter policy: Accept all advertisement (0x00)
> HCI Event: Command Complete (0x0e) plen 4                                #384 [hci0] 84.340329
      LE Set Scan Parameters (0x08|0x000b) ncmd 1
        Status: Success (0x00)
< HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2                     #385 [hci0] 84.340385
        Scanning: Enabled (0x01)
        Filter duplicates: Enabled (0x01)
> HCI Event: Command Complete (0x0e) plen 4                                #386 [hci0] 84.341332
      LE Set Scan Enable (0x08|0x000c) ncmd 2
        Status: Success (0x00)

> HCI Event: LE Meta Event (0x3e) plen 18                                  #413 [hci0] 94.889453
      LE Direct Advertising Report (0x0b)
        Num reports: 1
        Event type: Connectable directed - ADV_DIRECT_IND (0x01)
        Address type: Random (0x01)
        Address: FA:59:F1:CD:F0:93 (Static)
        Direct address type: Random (0x01)
        Direct address: 50:76:AF:1F:81:04 (Resolvable)
        RSSI: -51 dBm (0xcd)
bluetoothd[487]: @ MGMT Command: Start Discovery (0x0023) plen 1      {0x0001} [hci0] 100.316460
        Address type: 0x07
          BR/EDR
          LE Public
          LE Random
< HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2                    #414 [hci0] 100.316631
        Scanning: Disabled (0x00)
        Filter duplicates: Disabled (0x00)
> HCI Event: Command Complete (0x0e) plen 4                               #415 [hci0] 100.327401
      LE Set Scan Enable (0x08|0x000c) ncmd 2
        Status: Success (0x00)
< HCI Command: LE Set Address Resolution Enable (0x08|0x002d) plen 1      #416 [hci0] 100.327676
        Address resolution: Disabled (0x00)
> HCI Event: Command Complete (0x0e) plen 4                               #417 [hci0] 100.328440
      LE Set Address Resolution Enable (0x08|0x002d) ncmd 1
        Status: Success (0x00)
< HCI Command: LE Set Random Address (0x08|0x0005) plen 6                 #418 [hci0] 100.328642
        Address: 09:FD:D4:21:69:D6 (Non-Resolvable)
> HCI Event: Command Complete (0x0e) plen 4                               #419 [hci0] 100.329473
      LE Set Random Address (0x08|0x0005) ncmd 1
        Status: Success (0x00)
< HCI Command: LE Set Scan Parameters (0x08|0x000b) plen 7                #420 [hci0] 100.329711
        Type: Active (0x01)
        Interval: 22.500 msec (0x0024)
        Window: 11.250 msec (0x0012)
        Own address type: Random (0x01)
        Filter policy: Accept all advertisement (0x00)
> HCI Event: Command Complete (0x0e) plen 4                               #421 [hci0] 100.330456
      LE Set Scan Parameters (0x08|0x000b) ncmd 1
        Status: Success (0x00)
< HCI Command: LE Set Scan Enable (0x08|0x000c) plen 2                    #422 [hci0] 100.330641
        Scanning: Enabled (0x01)
        Filter duplicates: Enabled (0x01)
> HCI Event: Command Complete (0x0e) plen 4                               #423 [hci0] 100.331400
      LE Set Scan Enable (0x08|0x000c) ncmd 2
        Status: Success (0x00)

@ MGMT Event: Connect Failed (0x000d) plen 8                          {0x0001} [hci0] 112.803646
        LE Address: FA:59:F1:CD:F0:93 (Static)
        Status: Disconnected (0x0e)

I tried to change the battery with new one, and still no luck.
Tries to remove and reinstall all bluez, bluez-utils, bluedevil and anything still no luck.
This is so annoy me because every time i need to manually connect my keyboard.

Surprisingly There are no problems when connect any other bluetooth devices.
And my keyboard run perfectly to other system, MAC, Windows, GNOME Arch linux

Please help. Thank you

Last edited by rickyext (Yesterday 03:34:43)

Offline

#2 Yesterday 03:33:41

rickyext
Member
Registered: 2024-05-30
Posts: 4

Re: [SOLVED] KDE Plasma Failed to reconnect bluetooth keyboard recently

Bluez update tonight, fixed it LOL

here is the newest version
bluedevil 1:6.3.4-1
bluez 5.82-1
bluez-libs 5.82-1
bluez-qt 6.12.0-1
bluez-utils 5.82-1

Last edited by rickyext (Yesterday 03:35:26)

Offline

Board footer

Powered by FluxBB