Can't connect bluetooth mouse

Hi : )

I can’t connect my “Logitech MX anywhere 2” mouse to my system anymore, it used to work although it became a bit laggy today so I decided to remove it in order to pair it back.
Since then I keep on running into errors. My bluetooth headset is still working fine.
My system is up to date, I’m running bluez 5.61-1 with a lot of dependancies. I also have several bluetooth packages installed like the blueman GUI, manjaro-bluetooth.

When I try to pair my mouse with the blueman GUI i get this error :
“Connection Failed: Software caused connection abort”

$ systemctl status bluetooth gives :


● bluetooth.service - Bluetooth service
     Loaded: loaded (/usr/lib/systemd/system/bluetooth.service; enabled; vendor preset: disabled)
     Active: active (running) since Wed 2021-11-17 16:20:07 CET; 36min ago
       Docs: man:bluetoothd(8)
   Main PID: 782 (bluetoothd)
     Status: "Running"
      Tasks: 1 (limit: 18248)
        CPU: 97ms
     CGroup: /system.slice/bluetooth.service
             └─782 /usr/lib/bluetooth/bluetoothd

Nov 17 16:20:14 ordinateur bluetoothd[782]: Endpoint registered: sender=:1.46 path=/MediaEndpoint/A2DPSource/faststream
Nov 17 16:20:14 ordinateur bluetoothd[782]: Endpoint registered: sender=:1.46 path=/MediaEndpoint/A2DPSource/faststream_duplex
Nov 17 16:20:14 ordinateur bluetoothd[782]: Endpoint registered: sender=:1.46 path=/MediaEndpoint/A2DPSource/aptx_ll_1
Nov 17 16:20:14 ordinateur bluetoothd[782]: Endpoint registered: sender=:1.46 path=/MediaEndpoint/A2DPSource/aptx_ll_0
Nov 17 16:20:14 ordinateur bluetoothd[782]: Endpoint registered: sender=:1.46 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_1
Nov 17 16:20:14 ordinateur bluetoothd[782]: Endpoint registered: sender=:1.46 path=/MediaEndpoint/A2DPSource/aptx_ll_duplex_0
Nov 17 16:20:21 ordinateur bluetoothd[782]: src/profile.c:record_cb() Unable to get Hands-Free Voice gateway SDP record: Host is down
Nov 17 16:37:07 ordinateur bluetoothd[782]: Pair device timed out for hci0
Nov 17 16:54:01 ordinateur bluetoothd[782]: src/device.c:load_gatt_db() No cache for C8:ED:0A:E6:C6:92
Nov 17 16:56:04 ordinateur bluetoothd[782]: Pair device timed out for hci0

when I try to pair with bluetoothctl this happens :

[puf@ordinateur ~]$ bluetoothctl
Agent registered
[bluetooth]# agent on
Agent is already registered
[bluetooth]# power on
Changing power on succeeded
[bluetooth]# scan on
Discovery started
[CHG] Controller 70:9C:D1:BD:BE:0A Discovering: yes
[NEW] Device 6E:02:E0:A0:D0:68 6E-02-E0-A0-D0-68
[NEW] Device C8:ED:0A:E6:C6:92 MX Anywhere 2
[NEW] Device 64:BC:58:90:AA:19 unitecentrale
[bluetooth]# trust C8:ED:0A:E6:C6:92 
[CHG] Device C8:ED:0A:E6:C6:92 Trusted: yes
Changing C8:ED:0A:E6:C6:92 trust succeeded
[bluetooth]# pair C8:ED:0A:E6:C6:92 
Attempting to pair with C8:ED:0A:E6:C6:92
[CHG] Device C8:ED:0A:E6:C6:92 Connected: yes
[CHG] Device C8:ED:0A:E6:C6:92 Connected: no
Failed to pair: org.bluez.Error.AuthenticationCanceled

“bluetoothctl show” :

Controller 70:9C:D1:BD:BE:0A (public)
	Name: ordinateur
	Alias: ordinateur
	Class: 0x007c010c
	Powered: yes
	Discoverable: yes
	DiscoverableTimeout: 0x00000000
	Pairable: yes
	UUID: Message Notification Se.. (00001133-0000-1000-8000-00805f9b34fb)
	UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
	UUID: OBEX Object Push          (00001105-0000-1000-8000-00805f9b34fb)
	UUID: Message Access Server     (00001132-0000-1000-8000-00805f9b34fb)
	UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
	UUID: IrMC Sync                 (00001104-0000-1000-8000-00805f9b34fb)
	UUID: Vendor specific           (00005005-0000-1000-8000-0002ee000001)
	UUID: Headset                   (00001108-0000-1000-8000-00805f9b34fb)
	UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
	UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
	UUID: Phonebook Access Server   (0000112f-0000-1000-8000-00805f9b34fb)
	UUID: Audio Sink                (0000110b-0000-1000-8000-00805f9b34fb)
	UUID: Device Information        (0000180a-0000-1000-8000-00805f9b34fb)
	UUID: Generic Access Profile    (00001800-0000-1000-8000-00805f9b34fb)
	UUID: Handsfree Audio Gateway   (0000111f-0000-1000-8000-00805f9b34fb)
	UUID: Audio Source              (0000110a-0000-1000-8000-00805f9b34fb)
	UUID: OBEX File Transfer        (00001106-0000-1000-8000-00805f9b34fb)
	Modalias: usb:v1D6Bp0246d053D
	Discovering: no
	Roles: central
	Roles: peripheral
Advertising Features:
	ActiveInstances: 0x00 (0)
	SupportedInstances: 0x08 (8)
	SupportedIncludes: tx-power
	SupportedIncludes: appearance
	SupportedIncludes: local-name
	SupportedSecondaryChannels: 1M
	SupportedSecondaryChannels: 2M
	SupportedSecondaryChannels: Coded

“journalctl -n 20” :

[puf@ordinateur ~]$ journalctl -n 20
-- Journal begins at Sun 2021-03-28 23:17:48 CEST, ends at Wed 2021-11-17 17:03:01 CET. --
Nov 17 16:56:33 ordinateur audit[6286]: CRED_REFR pid=6286 uid=1000 auid=1000 ses=3 subj==unconfined msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_env,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/de>
Nov 17 16:56:33 ordinateur audit[6286]: USER_START pid=6286 uid=1000 auid=1000 ses=3 subj==unconfined msg='op=PAM:session_open grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 >
Nov 17 16:56:33 ordinateur sudo[6286]:      puf : TTY=pts/0 ; PWD=/home/puf ; USER=root ; COMMAND=/usr/bin/systemctl status bluetooth
Nov 17 16:56:33 ordinateur sudo[6286]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1000)
Nov 17 16:57:32 ordinateur sudo[6286]: pam_unix(sudo:session): session closed for user root
Nov 17 16:57:32 ordinateur kernel: audit: type=1106 audit(1637164652.013:212): pid=6286 uid=1000 auid=1000 ses=3 subj==unconfined msg='op=PAM:session_close grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=>
Nov 17 16:57:32 ordinateur kernel: audit: type=1104 audit(1637164652.013:213): pid=6286 uid=1000 auid=1000 ses=3 subj==unconfined msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_env,pam_faillock acct="root" exe="/usr/bin/sudo" h>
Nov 17 16:57:32 ordinateur audit[6286]: USER_END pid=6286 uid=1000 auid=1000 ses=3 subj==unconfined msg='op=PAM:session_close grantors=pam_limits,pam_unix,pam_permit acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/pts/0 r>
Nov 17 16:57:32 ordinateur audit[6286]: CRED_DISP pid=6286 uid=1000 auid=1000 ses=3 subj==unconfined msg='op=PAM:setcred grantors=pam_faillock,pam_permit,pam_env,pam_faillock acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/de>
Nov 17 16:59:36 ordinateur bluetoothd[782]: src/device.c:load_gatt_db() No cache for C8:ED:0A:E6:C6:92

I tried a lot of thing from this page https://wiki.archlinux.org/title/bluetooth , i can’t find a solution.

Any help very appreciated !! <3

System INFO:
Manjaro 5.0.5
Cinnamon Desktop
kernel 5.15.2-1-rt19-MANJARO
Lenovo ThinkPad X13 Gen 1

Hi again… okay I was really going crazy with those errors for a few hours and I just tried a last attempt by myself that worked :

[bluetooth]# agent KeyboardDisplay 
Agent is already registered
[bluetooth]# default-agent
Default agent request successful
[bluetooth]# scan on

it seems that the “agent KeyboardDisplay” line made the job, I have no idea why.
Anyway it’s solved for now : )

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.