Score:1

Bluetooth Pairing - AuthenticationCanceled

cn flag

I'm trying to pair my Ubuntu 20.04 laptop with a Logitech MX Keys Mini keyboard.

My bluetooth can find the device, but I am getting an error when I try to pair with it:

[bluetooth]# pair <MAC Address>
[bluetooth]# Attempting to pair with <MAC Address>
[bluetooth]# Failed to pair: org.bluez.Error.AuthenticationCanceled

Other times, I get this error:

[bluetooth]# pair <MAC Address>
Attempting to pair with <MAC Address>
[CHG] Device <MAC Address> Connected: yes
[agent] Passkey: 299595
[CHG] Device <MAC Address> Connected: no
Failed to pair: org.bluez.Error.AuthenticationCanceled

I have been able to pair with other devices, so I don't think there is any problem with my bluetooth. However, these devices required a passkey to connect, whereas this keyboard I believe should pair automatically, as there is no interface for inputting a passkey.

So the bluetooth seems to be able to discover the keyboard without issue, but I don't know how to go about pairing with it.

Has anyone else ran in to the same issue with pairing a keyboard on Ubuntu?

Score:0
cn flag

I just had to enter the passkey on the keyboard itself and press enter and it worked.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.