Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Adding a Bluetooth Keyboard (Aerb mini bluetooth keyboard)

    Recalbox General
    jeu mame mario
    4
    17
    9520
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • kryptto
      kryptto last edited by

      So I have followed the instructions for adding Bluetooth devices: https://github.com/digitalLumberjack/recalbox-os/wiki/Connect-bluetooth-controller-with-hcitool-and-hidd-manually-(EN) I am using the Orinco BT adapter recommended from the tested for compatibility page. It connects to my PS3 wireless controller just fine. I manually add the keyboard per the link above. The keyboard works, but if I turn off the keyboard or reboot the RaspberryPI2 I lose the settings and have to add it from scratch. Is there a way to permanently add that keyboard into a Config file so it can always be available? Kryptto

      PI 3B+ Recalbox 4.1

      1 Reply Last reply Reply Quote 0
      • digitaLumberjack
        digitaLumberjack Staff last edited by

        Hi, use this mini how to : https://github.com/digitalLumberjack/recalbox-os/wiki/Add-your-own-startup-script-(EN)

        1 Reply Last reply Reply Quote 0
        • kryptto
          kryptto last edited by

          Thanks Retroboy, not being a Linux guru, but isn't your OS locked down? How will using an editor be accomplished if I can't add it to the OS? Do I need to connect using telnet from another Linux machine running Nano?

          PI 3B+ Recalbox 4.1

          1 Reply Last reply Reply Quote 0
          • digitaLumberjack
            digitaLumberjack Staff last edited by

            You can use nano after you connected through ssh with putty : https://github.com/digitalLumberjack/recalbox-os/wiki/Mini-How-To-(EN) check the root access

            1 Reply Last reply Reply Quote 0
            • kryptto
              kryptto last edited by

              Thanks for clarifying, much appreciated. I love this retro gaming emulator build. I have tried several... They all sucked on many if not all levels. Please keep up the great work!

              PI 3B+ Recalbox 4.1

              1 Reply Last reply Reply Quote 0
              • digitaLumberjack
                digitaLumberjack Staff last edited by

                I will 🙂

                1 Reply Last reply Reply Quote 0
                • kryptto
                  kryptto last edited by

                  For those Windows folks looking for an excellent gui for working on your Recalbox OS, download the following programs: http://winscp.net/eng/index.php http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html Download the x86/x64 version of PuTTY and place in the a folder you create named PuTTY: C:\Program Files (x86)\PuTTY (Windows 64bit OS shown here) Username and Password for the Recalbox OS is : root / recalboxroot

                  PI 3B+ Recalbox 4.1

                  1 Reply Last reply Reply Quote 0
                  • acris
                    acris last edited by

                    Hi kryptto , if you can make a script to pair your keyboard to start the pi could you share it with us and post your code ? thanks a lot.

                    1 Reply Last reply Reply Quote 0
                    • kryptto
                      kryptto last edited by

                      #!/bin/bash
                      hidd --connect CC:BB:CC:AA:BB:CC
                      

                      Ahh, that was it. I had to make the file have the proper permissions to kickoff by the OS. See attached Screenshot.

                      PI 3B+ Recalbox 4.1

                      1 Reply Last reply Reply Quote 0
                      • acris
                        acris last edited by

                        Hello thank a lot

                        1 Reply Last reply Reply Quote 0
                        • kryptto
                          kryptto last edited by

                          Acris

                          could you share it with us and post your code ?

                          I saw you have a forum post in French with the Bluetooth config file. I wish I could understand french better. Something tells me by the looks of your post my primitive attempt is sheer luck. ~kryptto

                          PI 3B+ Recalbox 4.1

                          1 Reply Last reply Reply Quote 0
                          • acris
                            acris last edited by

                            Hello Yes, I posted a script to connect bluetooth controllers and it does not work with the keyboard and mouse apparently. Your simple line work fine with a another member 😄 I can translate it if you want to try

                            1 Reply Last reply Reply Quote 0
                            • kryptto
                              kryptto last edited by

                              Unfortunately my fix works to autostart the keyboard on boot, as soon as my keyboard goes to 'sleep' and I hit any button, no response from the RPI. Anyone have ideas of additional code to add to make my settings more persistent? Kryptto

                              PI 3B+ Recalbox 4.1

                              1 Reply Last reply Reply Quote 0
                              • acris
                                acris last edited by

                                Hello try this command line :

                                #!/bin/bash
                                hidd --connect CC:BB:CC:AA:BB:CC --server
                                
                                1 Reply Last reply Reply Quote 0
                                • kryptto
                                  kryptto last edited by

                                  Acris, Thanks for the advice, the addition of the --server command doesn't allow the command to complete. The keyboard never attaches. The pairing light normally will go steady once paired, the --server command never allows that pairing to complete. Kryptto

                                  PI 3B+ Recalbox 4.1

                                  1 Reply Last reply Reply Quote 0
                                  • kalelra
                                    kalelra last edited by

                                    So here is what I did with addition of the startup script   Edit main.conf and rfcomm.conf files underr /etc/bluetooth   Change your mac address in here next to "device" and delete the "#" sign to the left of the comment. # Bluetooth address of the device #       device 11:22:33:44:55:66;     edited main.conf file -add your bluetooth mac address to DeviceID field. # Possible vendor id source values: bluetooth, usb (defaults to usb) DeviceID = bluetooth🔢5678:abcd Another thing was that I hit the sync button on start up as well when rebooting raspberry pi or starting raspberry pi. hope that helps someone else!

                                    1 Reply Last reply Reply Quote 0
                                    • kryptto
                                      kryptto last edited by

                                      Thanks Rico I will try your suggestion!

                                      PI 3B+ Recalbox 4.1

                                      1 Reply Last reply Reply Quote 0
                                      • First post
                                        Last post

                                      Want to support us ?

                                      80
                                      Online

                                      98.7k
                                      Users

                                      28.1k
                                      Topics

                                      187.0k
                                      Posts

                                      Copyright © 2021 recalbox.com