-
Notifications
You must be signed in to change notification settings - Fork 515
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
8bitdo sn30 Pro cannot connect after upgrade to Batocera v40 #12357
Comments
Second that, exact same behavior for me. I've tried Nintendo Pro and PS4 controller. Bluetooth is given by Asus BT500 dongle (have also tested with another older dongle, which I don't know the name of). Both dongles verified to be working on various linux systems. All other peripherals disconnected, in case it's a power issue. There are similar issues from 2021/22 on various forums regarding bluez to be not working, unless some pulseaudio-bluetooth package is installed, or service started, or switch to pipewire. I don't know if that is related anyway. Model: Hardkernel_ODROID_XU4 |
Please tell if you find any workarounds - does it for example solve the problem to do a fresh install? |
Can you try:
After a reboot; just press "start" on the 8bitdo and it should work... Can you give some feedback!? |
Thanks for your reply. I tried but cannot get it to connect. I have removed it from the menu before I after running its back in the menu. It still seems to fail. Log no 1 is the output from trust, pair, connect. I then rebooted and started the controller with just the start button (2 flashing lights). watched the bluetooth output from scan and maybe there can be a clue on More suggestions or things to try? Log no1
Log no 2
|
Is this the same / similar issue bluez/bluez#605 ? |
I had similar problems... but I was too slow... Can you try again as fast as possible? From what I read you probably did this, but to be sure: when removed from the menu; please reboot, sometimes in-memory state can cause problems with all the interacting pieces. And, again to be sure, did you read this?
Looks similar indeed. There seems to be a bluez update that breaks stuff in the chain. The batocera defaults are set to be backwards compatible (and look ok) but changed default settings in bluez could also be the culprit. |
Also a tip for readers of this thread; do NOT pair Wii controllers in the Batocera menu; first start the Wii emulator (dolphin), then press the sync button on the controller and then dolphin pairs the controller. This is in the Batocera manual but I glanced over it the first time... |
So I haven't tested much more on the XU4 as of now, but on an x86-64 build. Using the same BT500 dongle connected via USB 2 port to an amd64 HTPC on latest batocera works flawlessly. The XU4 and RPi3 actually have only one thing in common, and that is a ARMv7 32bit architecture. Hence I would suggest it is some incompatibility on the bluez drivers side. |
I'll try to find another memory card - if so I could try a fresh install. I'm afraid of loosing my save states etc. if I reinstall. I write back if i manage to find one. |
I just tested again (and quickly) with the same problem.
Gives
|
Also, rebooted again and tried
Gives
|
When I look in the GUI I can see the controller under Forget a bluetooth device (But it doesnt work). |
Everything up to the line above is what I see, but the "disconnected" after pairing is a problem.
Weird, this works fine for me. But I have a question; @Jarthianur mentioned a difference in behavior between a x86 and ARM platform. On his x86 platform the pairing works but on ARM the pairing fails. I agree with his suggestion that it could be a bluez+ARM compatibility problem.
@Jarthianur; I think you are on to something (bluez+ARM incompatibility); I'm on x86 and it also works for me. |
@anonymouz I'm using a Raspberry Pi 3b+ with the raspberry image from batocera. Does that answer your question? Not really sure if I can try a X86 on that computer? Apart from that I only have a macbook air (m2). |
Yes, the observation of @Jarthianur seems to be correct. I also reported this on the bluez issue and there is someone who has also this problem on ARM and he will double check this on x86 and report back. I'll give feedback here if his check is done. |
I'm having the same issue with ARM on a raspberri pi 3b |
I have tested two controllers. A PS5 DualSense controller that will shutdown as soon as it pairs, then if powered on it turns off again. I have tested both from the UI in auto mode, manual mode and manual mode from the cli. Both controllers worked fine on the same hardware with latest release from recalbox and work fin in Arch linux on my main desktop. Edited I just tried disabling internal bluetooth adapter and using an external one over USB with the same results. |
Same problem here in v40. Viewing Batocera dmesg output, the only curious messages are:
Making a "lspci -s 0000:00:1c.7", the output is: |
Does it work for you with one controller? Or is the problem when you pair two? If so - your issue might be more like this #11844 ? |
So it failed on ARM (pi 3b). Recalbox on the PI 3b worked. And on your x86 it worked. Correct? Others also reported that Batocera 39 worked... So if your recallbox on PI uses older bluez driver (as in Batocera 39) then the new bluez drivers don't auto connect on all platforms and don't even manually connect on ARM. Correct? |
Did you also try the manual connect or only from the GUI? See: https://wiki.batocera.org/bluetooth_controllers_-_manual_setup |
That's correct |
Hello! I have the same problem with RPi3 + Batocera v40 + 8bitdo NES 30 Pro (x2). Everything was fine at v39, then I upgraded to v40 and the pads didn't pair. Tried multiple ways to solve this, but nothing. I had to downgrade to v39 ( I hope this gets a patch or something, but for now, I'll stick with v39. |
Thanks! Did you just run the command @i5rael-lp
? |
Yes, that very one (i have a rp3, if you got something different, you should change the url). It took a couple of minutes, and after rebooting, all was perfect. Here's the wiki |
Thanks @i5rael-lp I have the 3b+ so I guess we can use the same URL? |
Yes! The wiki says: Raspberry Pi 3 and variants. |
I had exactly the same issue with Batocera 40, but with an 8bitdo Ultimate BT. The bluetooth wouldn't connect at all and the 2.4ghz would connect and disconnect a few times before it stopped working. Downgrading to 39 solved the issues on BT. 2.4ghz still doesn't work (but it's not as important tbh). I'm on a Rasperry Pi 3b+ |
Even I have successfully downgraded and all my 3 (2 x sn30 pro + 1 x lite2) works fine again. I had to connect-trust-pair them via bluetoothctl but that's ok for now. |
via command line, the gamepads are not displayed in detected devices (I can see speakers, phones, and other devices, but gamepads are not displayed) |
with both controllers, no matter which one I choose to pair. |
Wanted to mention that I had the exact same problem with a Nintendo Switch Pro Controller on a RPi3B+ with v40, tried all the mentioned tips, and the only solution was also to downgrade to v39. |
Sn30 Pro using the 8 bit do Wireless Dongle connects but has frequent drops and disconnects on RPI 3b on v40 fresh install. This issue also occurs on my Odroid go Ultra v 40. Can only reproduce it with Batocera. |
please try v41 with the RPi3b - https://drive.google.com/drive/folders/1pGcMDtlpQfWQE1eZnz6xKrAHMOz-BUjg?usp=drive_link |
While it works with 8bitdo, it doesn't recognize the reset/power buttons of my retroflag NESPi Case+. Had to downgrade again to v39. :( |
Thanks! I tried to make a copy of my SD-card with MacOS Diskutil and tried to restore it to a new SD-card. I couldnt get it to boot. Any idea for how I can try the upgrade on another disk? |
No worries. GPIO scripts are on the to-do. |
You will need the full image. I will post it when back home. |
@olind the full image is there now |
I flashed the full image but it crashes during boot. First step with installation seems fine but when it boots the screen gets black after the Batocera boot splash is shown. Then the Raspberry (pi 3b+) green led starts blinking. Any idea what to try? |
Batocera build version
40 2024/08/03 05:52
Your architecture
Raspberry_Pi_3_Model_B_Plus_Rev_1_3
Your Graphic Processor Unit(s) (GPU)
built in
Issue description
I have been using Batocera 38 and 39 with one 8bitdo SN30 Pro and one 8bitdo Lite 2 with Bluetooth without issues. After upgrading to v40 I cannot get any of them to connect.
I removed all BT devices in batocera and tried both methods in the GUI. Without succes. I then tried to remove my /system/userdata folder, rebooted and no success. Also tried to manually connect it with the commands in the terminal as described here: https://wiki.batocera.org/bluetooth_controllers_-_manual_setup
I also made sure both had latest 8bitdo firmware.
I starting the controllers with x+start and then set them to pairing mode.
pair E4:17:D8:B6:F4:79
andconnect E4:17:D8:B6:F4:79
givesI suspect it might have something to do with
[8Bitdo SN30 Pro]# Failed to connect: org.bluez.Error.NotAvailable br-connection-profile-unavailable
but I couldn't find anything?output from bluetoothctl:
Detailed reproduction steps
Described it in the issue description
Details of any attempts to fix this yourself
No response
Details of any modifications you have made to Batocera.
No
Logs and data
No response
The text was updated successfully, but these errors were encountered: