LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Apple bluetooth keyboard-device added successfully but failed to connect (https://www.linuxquestions.org/questions/linux-hardware-18/apple-bluetooth-keyboard-device-added-successfully-but-failed-to-connect-4175596529/)

eco_bach 12-31-2016 10:09 AM

Apple bluetooth keyboard-device added successfully but failed to connect
 
Up until this morning I had my Apple bluetooth keyboard auto connecting when I boot up. Now, for some strange reason (an update?, though don't recall updating anything) it doesn't auto connect, and when I try and manually connect I get the following error message

Code:

Device added successfully but failed to connect
Running latest ubuntu-mate 16.04. Can anyone suggest troubleshooting steps?

dlb101010 12-31-2016 05:09 PM

I wonder if it's a problem with pairing. When you try and manually connect, do you get to where a pairing number is given?

Dave

eco_bach 12-31-2016 06:22 PM

Actually no, no pairing # is given

dlb101010 12-31-2016 07:34 PM

Might have duplicated your problem. On my Mint 18 Mate I disconnected the Apple keyboard, and the bluetooth settings software seemed to freeze. I could not disconnect the remaining mouse nor the speaker, and could not reconnect the keyboard. This persisted after killing and restarting the bluetooth settings, and even after a complete reboot of the computer. Interestingly, the bluetooth settings listed my computer's name incorrectly as "Bastien's Computer".

I opened a terminal window and ran as regular user:
$ rfkill list
Code:

0: tpacpi_bluetooth_sw: Bluetooth
        Soft blocked: no
        Hard blocked: no
1: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
4: hci0: Bluetooth
        Soft blocked: yes
        Hard blocked: no

Then:
$ rfkill unblock 4
Code:

0: tpacpi_bluetooth_sw: Bluetooth
        Soft blocked: no
        Hard blocked: no
1: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
4: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no

And the bluetooth settings went back to normal and I was able to reconnect the keyboard. The secret was getting rid of that softblocked hci0.

Hope this works for you!

mpapet 01-01-2017 03:24 PM

This may seem insulting, but, are you sure the keyboard is charged?

IME, sometimes the whole bluetooth stack needs restarting. The easiest way to do that is a reboot.


All times are GMT -5. The time now is 10:09 AM.