okay I go into sudo nano bluetooth.service and change Execstart to #Exec and add --noplugin. But I dont know how to exit or save these changes. What do I do?
I’ve linked a nano text editor guide below, to summarise:
If you want to save the changes you’ve made, press Ctrl + O. To exit nano, type Ctrl + X. If you ask nano to exit from a modified file, it will ask you if you want to save it. Just press N in case you don’t, or Y in case you do. It will then ask you for a filename. Just type it in and press Enter.
Thanks your workaround is great and I have been able to connect my 8but do controllers to my pi4 using it, however I wondered if there was a way to get them to connect on boot rather than having to use the workaround every time. Currently when I reboot they do not pair automatically.
Thanks very much for your efforts and any help that you can offer
Hmmm, if you followed the guide, they should remain paired between restarts (or at least that’s what I found). Do they appear on the list of already paired devices after a restart? You should just be able to hit start to get the controller to attempt connection.
Thanks for your quick response. I’ve not been home for the last few days, but the controller did remain on the list of registered devices. When I get back home next week, I will try a fresh install and give the workaround another go and update with my findings.
If you go into the bluetooth setup in the retropie script, there is an option for ‘Configure Bluetooth Connect Mode’. If you set that to ‘Background’ it should auto connect your bluetooth controllers on startup.
Anyone had any luck getting 8BitDo Pro 2 controllers working on their Pi4? I’ve been pulling my hair out!
I have them paired to my Pi4 but they wont connect They work if I connect using USB-C and the controllers work on my windows pc, but i’ve spent hours trying to fault find with no joy.
Yes, it’s always worked fine for me, though I know some people have run into bluetooth issues. Here’s a forum post I made in the past explaining my process:
Sorry for the delayed response to you both, I haven’t been home for a bit and only just got a chance to dabble with my pi this morning.
Thanks for your suggestions, but I still haven’t been able to get this to reconnect on start up. I already had retropie set to background so tried a fresh install. Followed the workaround as per the instructions and then pair, Trust connect in
Bluetoothctl
Controller connects fine but then when I shutdown or reboot it won’t connect automatically. It still shows as a paired device in Bluetoothctl and shows up as a registered and connected device in the retropie config settings, however it doesn’t connect when selecting connect to all registered devices within retropie.
It connects straight away if I use bluetoothctl and manually connect.
This doesn’t seem to be the case for other people so I’m wondering if I’m missing something or if it’s possible to run a script to auto connect at start / in the background?
My understanding is that when you push a button on the controller with it off, it’ll try and connect to its last paired device, which should be your Pi.
If it doesn’t behave like this, you can definitely run a script to connect automatically!
Hi James, thanks for your help.
I finally got some time at the weekend to come back to this and was able to get my Bluetooth controller to connect automatically using step 2.5 of the process linked below
I struggled with getting an xbox360 controller to work over bluetooth and this did the trick. After picking up a second controller, however I find that I can’t connect either one. Interestingly, I’m able to pair them using the bluetooth configuration (I’ve installed the xpad driver) but they never show a solid light indicating they are connected.
I can even go to the remove bluetooth devices tab and I can see one of them, but it is non-functional. I’m getting authentication errors or time out when I’m trying to pair, even though the bluetooth configuration tool shows the xbox controller that I’m trying to connect. Some text shows up at the bottom of the screen and disappears quickly.
Please let me know if you can help with this. I finally thought I had it working and just needed one more controller but now I can’t get either of them to work even if I only try to pair one.
I followed your steps to connect a bluetooth keyboard. Now that I have entered your changes the error has changed to Timeout. Why the hell can’t I use the bluetooth keyboard? The Xbox controller worked right away. Damn