-
-
Notifications
You must be signed in to change notification settings - Fork 292
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
Lakka 3.5 Bluetooth Controllers Refuse to Auto Connect #1528
Comments
This might be due to the added driver for Xbox Wireless gamepads (
Please, let us know if this solves your issue. |
This did not solve the issue. I ran the above command and rebooted the Pi, however the same behavior is happening with the controllers. |
Did you pair the controller with a different OS/device prior to connecting again to Lakka? If so, you have to re-pair. To remove the pairing in Lakka navigate to settings - Bluetooth - mark the device you want to un-pair, press start/space, restart RetroArch and pair again. |
I have not paired these controllers with any other device, they have exclusively been used with this Raspberry Pi. However I have removed them all from Lakka with the space bar as you mentioned, restarted Lakka, and then paired one of the controllers. Upon rebooting, it again would not automatically connect. The same observations in my original post are still present (one LED blink, bluetoothctl log message, etc). I even went and removed the entire |
Do you connect the gamepad using command line (bluetoothctl) or the |
Bluetooth service is enabled. For pairing the controller, I used the Lakka Bluetooth menu. Using the menu, I can pair the controller and it immediately connects after the pairing process. However once the controller is turned off and then back on, the controller will not automatically connect. I did just now try the
|
To rule out / isolate the issue, can you, please, roll back to 3.4 and confirm, this issue is not present? Thank you! |
I have downgraded to |
thank you, I will try to find a fix, maybe it is really related to the xpadneo driver, maybe not... |
Same issue on pi4 upgraded from 3.4 to 3.5.1 please let me know if you need any logs. |
I checked the commit history but did not find anything that would relate to bluetooth / Wii controllers - besides the added xpadneo bluetooth driver. So to confirm/rule this out, I created an image without the driver for RPi3 and RPi4 (aarch64 both). EDIT: The images are based on master + revert of the commit that added xpadneo driver. Please, test with this image, as I don't have the appropriate hardware. Thanks! |
I used the |
Can you make another test with updated image - now I omitted only the kernel patch, but kept the |
I have upgraded to your |
and adding
does not really solve the issue? if you could provide output of To exclude those udev-rules and modprobe entries I created new image without the above two files. If this would be the case, we could still include the driver and navigate the users to add custom udev-rules / modprobe configuration via If you could make another test with below image, it will be appreciated. |
Testing I am confused by your other comments, do you want me to do that blacklisting xpadneo and the lsmod stuff on the released 3.5.1 image, or the one located at https://nightly.builds.lakka.tv/members/vudiq/rpi3-4_no_xpadneo/only_patches_omitted/ ? Or was the latest image you built sufficient enough? |
I took the When it booted up after the upgrade, the controllers did not connect automatically, as I would expect. I simply changed the So it seems like it's this line messing it up: |
thank you for your testing, I will remove the offending line from image/package, users can still add it via
|
as it causes connection issues with different gamepads, it is safer to remove it and the user can add this on need basis via ``` echo options bluetooth disable_ertm=1 > /storage/.config/modprobe.d/disable_ertm.conf ``` fixes #1528
as it causes connection issues with different gamepads, it is safer to remove it and the user can add this on need basis via ``` echo options bluetooth disable_ertm=1 > /storage/.config/modprobe.d/disable_ertm.conf ``` fixes libretro#1528
On a side note - I had similar issue today on RPi400. I looked at the folders and noticed that the |
When running
bluetoothctl
, every time I turn the controller on (by tapping power/start/A) I see this message pop up:So it seems like the controller is connecting to the Pi, then whatever is running on the Pi that would accept the connection just doesn't work, and then the controller turns off. If I have the Pi turned off, turning the controller causes the player LEDs to blink for 30 seconds, as it is searching for the Pi to connect to. That leads me to believe something on the Pi is actively refusing the connection for some reason (and causing that log message above).
From both
bluetoothctl
as well as Lakkas bluetooth menu, I can manually connect to the controller. Withbluetoothctl
, simply using theconnect <mac_address>
, and then turning the controller on while it's attempting to connect allows the controller to connect successfully. With the Lakka bluetooth menu, I need to select the controller, and then press the pairing button on the controller. So I am still able to use them, just that it's pretty inconvenient (since I need a keyboard to actually get to that menu).Looking in
/storage/.cache/bluetooth/B8:57:AB:61:C3:5C
, I see my four controller MAC addresses as 4 folders. The info file in each shows them as Trusted and not Blocked. They worked for 3.4, haven't touched them since (or ever).Any help with this would be greatly appreciated! And if you need any other info let me know.
The text was updated successfully, but these errors were encountered: