3

I am trying to pair the Microsoft 3RA-00022 Surface Ergonomic Keyboard in Ubuntu 18.04. By GUI Ubuntu interface it simply says: "Failed to add device"

By cmdl, I do this: *# bluetoothctl

pair EE:EE:EE:EE:EE:EE (mac real replaced)

Attempting to pair with ED:24:4C:21:D0:4F

Failed to pair: org.bluez.Error.AuthenticationFailed*

Can you give me a hand? I have almost 2 weeks searching online with no luck. Greetings,

2
  • Have you figured it out?
    – exfizik
    Jan 28, 2019 at 18:22
  • A slightly different keyboard, but I had this problem with the Microsoft Surface Keyboard when attempting to pair with Ubuntu 16.10. It simply didn't work because the OS was not handling the pin challenge at all. The only way I got this to work was to upgrade my dist to Ubuntu 18.101. Are you 100% sure you're on 18.04? Is your system fully updated?
    – Ed Spencer
    Mar 25, 2019 at 11:03

2 Answers 2

1

I just went through this rigmarole, and I'm happy to say that I'm typing this answer on my Surface Ergonomic Keyboard (albeit on Ubuntu 19.04).

The cause of the problem in my case was that the Bluetooth firmware on my machine was not up to date. Once I updated the firmware, bluetoothctl prompted me with a pin code, when entered on my keyboard paired successfully.

A few things you could try:

Determine if the firmware is loading correctly. From a terminal type dmesg | grep -i blue. If you see any errors indicating that firmware was not loading, then you should determine the manufacturer of your bluetooth chip, and from there figure out how update it to the latest version.

If that doesn't help you, then you may want to start the bluetooth daemon in debug mode and look at the logs, to see if it helps you out. To do this, modify the following file: /lib/systemd/system/bluetooth.service. Find this line:

ExecStart=/usr/lib/bluetooth/bluetoothd

and configure it to log debug info by appending -d:

ExecStart=/usr/lib/bluetooth/bluetoothd -d

Restart the bluetooth service, and you'll find debug info in syslog. This may or may not help you out, but it should at least help you narrow down the problem in your case. Good luck! While I found this problem really frustrating, it makes typing on my keyboard a lot more satisfying!

I'm pretty sure this solution would have worked on 18.04. The only reason I'm on 19.04 is because I upgraded in an attempt to get this keyboard to work!

1

This may sound silly but I was trying for hours to connect...

Then I realised that the keyboard and mouse have a USB wireless receiver that you must plug in to a USB port!

This receiver is hidden inside the mouse next to the batteries and on/off switch. Simply remove and plug in and your keyboard and mouse should work out the box on 20.04....

Plug this receiver into your machine

1
  • You are talking about Sculpt Ergonomic Keyboard (and mouse) but OP asked about Surface Ergonomic Keyboard. It has no receiver and must be connected via Bluetooth.
    – renadeen
    Feb 11, 2021 at 21:15

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .