RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Pairing a 8bitdo N30 pro2 controller

    Scheduled Pinned Locked Moved Help and Support
    8bitdocontrollerbluetooth
    4 Posts 2 Posters 916 Views
    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.
    • D
      dinth
      last edited by

      Hi. Im trying to pair a fully upgraded 8BitDo N30 pro 2 controller with my RetroPie RPi4 but retropie-setup script fails to find it.

      1. The controller pairs fine with my other devices.
      2. The controller is visible when running 'hcitool scan' manually on RetroPie RPi4.
      3. "Pair and Connect to Bluetooth Device" in retropie-setup does not show the controller or its MAC address - actually it found it just once during last 4 hours i spent repeating this.
      4. Scan in retropie-setup shows a lot of different devices me and my neighbour's houses, but not my controller.
      5. I have tried Windows (X) and Android (B) modes.

      Any advice? I also have another 8bitdo controller which i managed to find and pair successfully after just 4 tries, but with this one i have literally tried dozens if not hundreds of times.

      D 1 Reply Last reply Reply Quote 0
      • D
        dinth @dinth
        last edited by dinth

        Actually i have just removed my first controller (as it was originally paired in Switch mode, i wanted to take this oppurtunity to re-pair it as Windows controller) and now retropie-setup doesnt find it either.

        [edit]
        After viewing the source code, I have noticed that retropie-setup is using bluetoothctl instead of hcitool for bluetooth.

        1. I have managed to re-pair the other controller again using bluetoothctl. I have managed to set up udev rule in retropie-setup and then the input in EmulationStation, but it only lasted until the reboot - now i cannot connect to it, even directly from bluetoothctl
        [bluetooth]# connect E4:17:D8:72:0D:60
        Attempting to connect to E4:17:D8:72:0D:60
        [CHG] Device E4:17:D8:72:0D:60 Connected: yes
        Failed to connect: org.bluez.Error.Failed
        [CHG] Device E4:17:D8:72:0D:60 Connected: no
        
        pi@retropie:~ $ systemctl status bluetooth
        Feb 02 18:21:50 retropie bluetoothd[592]: Device is already marked as connected
        Feb 02 18:22:23 retropie bluetoothd[592]: Can't get HIDP connection info
        Feb 02 18:22:28 retropie bluetoothd[592]: connect error: Host is down (112)
        Feb 02 18:22:29 retropie bluetoothd[592]: No cache for C4:7C:8D:63:9E:D1
        Feb 02 18:22:42 retropie bluetoothd[592]: Can't get HIDP connection info
        Feb 02 18:22:42 retropie bluetoothd[592]: connect error: Invalid exchange (52)
        Feb 02 18:22:47 retropie bluetoothd[592]: Can't get HIDP connection info
        Feb 02 18:22:50 retropie bluetoothd[592]: connect error: Invalid exchange (52)
        
        1. The new controller is still only visible in hcitool but not bluetoothctl.
        pi@retropie:~ $ hcitool scan
        Scanning ...
        	E4:17:D8:A0:0C:70	8BitDo N30 Pro 2
        pi@retropie:~ $ bluetoothctl
        Agent registered
        [4E-C0-07-98-6C-41]# pair E4:17:D8:A0:0C:70
        Device E4:17:D8:A0:0C:70 not available
        
        1. It seems that after me scanning the network whole day today, a lot of different devices, including my neighbor's phone, is now paired with my RetroPie - and i swear i have never tried pairing them.
        [CHG] Device C4:7C:8D:6B:99:A0 Connected: yes
        [CHG] Device C4:7C:8D:6B:99:A0 Connected: no
        [CHG] Device C4:7C:8D:6B:A0:6B Connected: yes
        [CHG] Device C4:7C:8D:6B:A0:6B Connected: no
        [CHG] Device C4:7C:8D:6A:D6:65 Connected: yes
        [CHG] Device C4:7C:8D:6A:D6:65 Connected: no
        
        1 Reply Last reply Reply Quote 0
        • D
          dinth
          last edited by

          I have managed to sort this out:

          sudo systemctl stop bluetooth
          sudo rm -rf /var/lib/bluetooth/*
          sudo shutdown -r now

          :D

          1 Reply Last reply Reply Quote 0
          • N
            Necroticx
            last edited by

            Can you explain how you fixed this? I've been wrestling with this all day.

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

            Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

            Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.