Connecting Bluetooth keyboard to libreelec

  • Hi guys,

    I've took the rapoo e6300 and with default method I cannot connect this keyboard to the system because this keyboard need to enter passkey on it in "blind" mode to be paired with system.

    I've found a lot of information about such problem with OpenElec but for LibreElec nothing. Bluez-tools which exists in the OpenElec doesn't exists in LebreElec.. Sad...

    And I decided to try bluetoothctl tool on the system. And I've successes conected keyboard and I've got the pin for paring...

    0. Connect to ssh
    1. Run bluetoothctl. Interactive shell will run
    2. Execute scan on
    3. Turn on the keyboard and press for 5 second Connect button on the keyboard
    4. On the shell you should find something like this:

    Code
    [NEW] Device 6C:5D:63:40:04:D3 Bluetooth Keyboard


    5. Execute command trust

    Code
    [bluetooth]# trust 6C:5D:63:40:04:D3
    [CHG] Device 6C:5D:63:40:04:D3 Trusted: yes
    Changing 6C:5D:63:40:04:D3 trust succeeded


    6. Execute command pair

    Code
    [bluetooth]# pair 6C:5D:63:40:04:D3
    Attempting to pair with 6C:5D:63:40:04:D3


    During this on the monitor should be appeared message which describe pin which should entered on the keyboard.
    7. Enter this pin and press Enter on the keyboard
    You should see on the shell something like that

    Code
    [CHG] Device 6C:5D:63:40:04:D3 Connected: yes
    [CHG] Device 6C:5D:63:40:04:D3 Modalias: usb:v099Ap0500d011B
    [CHG] Device 6C:5D:63:40:04:D3 UUIDs: 00001124-0000-1000-8000-00805f9b34fb
    [CHG] Device 6C:5D:63:40:04:D3 UUIDs: 00001200-0000-1000-8000-00805f9b34fb
    [CHG] Device 6C:5D:63:40:04:D3 ServicesResolved: yes
    [CHG] Device 6C:5D:63:40:04:D3 Paired: yes
    Pairing successful


    8. Execute command exit and disconnect from ssh
    9. Go to bluetooth settings in the Kodi
    10. Click on the your keyboard item (in my case it was disconnected) and select connect.
    11. Wait 10-20 sec and try to use keyboard.

    In my case keyboard was paired and working as expected

    I hope such instructions will helps somebody else except me

    Happy Holidays and Enjoy!

    Edited once, last by EasySly (December 25, 2016 at 11:50 AM).