Pairing a 8bitdo N30 pro2 controller
-
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.
- The controller pairs fine with my other devices.
- The controller is visible when running 'hcitool scan' manually on RetroPie RPi4.
- "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.
- Scan in retropie-setup shows a lot of different devices me and my neighbour's houses, but not my controller.
- 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.
-
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.- 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)
- 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
- 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
-
I have managed to sort this out:
sudo systemctl stop bluetooth
sudo rm -rf /var/lib/bluetooth/*
sudo shutdown -r now:D
-
Can you explain how you fixed this? I've been wrestling with this all day.
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.