Auto connect bluetooth controller

Home Forums RetroPie Project Controller Configuration in RetroPie Auto connect bluetooth controller

RetroPie has a new website and forum. Please visit https://retropie.org.uk/ for the new site. The new forum is located at https://retropie.org.uk/forum/. This forum is left here as a read-only archive.

This topic contains 5 replies, has 4 voices, and was last updated by Profile photo of Floob Floob 11 months, 4 weeks ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #121054
    Profile photo of Tsade
    Tsade
    Participant

    Hello,

    I am trying to connect my 8bitdo NES30 Pro bluetooth controller to retropie 3.6.
    I have a Raspberry Pi 3, so I would like to use the built in bluetooth.
    I followed the wiki to connect the controller.
    It is paired, but it doesn’t connect automatically when restarting the raspberry.
    Nevertheless I edited the udev rule as it is indicated.
    Any idea?

    • This topic was modified 1 year ago by Profile photo of Tsade Tsade.

    #121945
    Profile photo of Tsade
    Tsade
    Participant

    Hi there,

    I tried on an clean retropie image, and still the same issue.
    NES30 Pro controller paired an connected successful, but I can’t get it connected automatically after reboot.

    Can I make a cron task or something to attempt connecting my controller everytime if not already connected?
    That would be even better than connecting it at boot. I think.

    #121961
    Profile photo of rion
    rion
    Participant
    #122153
    Profile photo of Tsade
    Tsade
    Participant

    Thanks for the links rion, I tried with “hciconfig hci0 up piscan” but it didn’t work.

    I managed to connect my controller at boot running this code from rc.local file:

    bluetoothctl << EOF
    power on
    connect MACADRESS
    exit
    EOF

    Maybe I will try to configure a cron task to run this script to keep trying to connect after boot.

    #122156
    Profile photo of meneerjansen
    meneerjansen
    Participant

    I configured a keyboard to test bluetoothctl and it reconnects at boot. See for instance this topic. Summary:

    1. bluetootlctl
    2. agent on
    3. devices
    4. pair 11:22:33:AA:BB:CC
    5. Enter PIN
    6. trust 11:22:33:AA:BB:CC
    7. connect 11:22:33:AA:BB:CC
    #122230
    Profile photo of Floob
    Floob
    Moderator

    I’ve done this when using RetroPie 3.6

    Wiki: https://github.com/RetroPie/RetroPie-Setup/wiki/Setting-up-a-Bluetooth-controller

    RetroPie help guides --> https://goo.gl/Yfy8kj
    Please read this before asking for help --> http://goo.gl/eLErnl

Viewing 6 posts - 1 through 6 (of 6 total)

Forums are currently read only - please visit the new RetroPie forums at https://retropie.org.uk/forums/

Skip to toolbar