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
After updating to version 5.64-0ubuntu1.1 my gamepad stopped working. #673
Comments
Hello, I am also experiencing this issue. I reported it on Canonical's launchpad bug reporter here, but given past experience on launchpad, I am doubtful that it will get a reply. Here is the important section of my bug report that might be helpful for the developers: Logs (journalctl) that I get on connection with the broken (new) version:
Logs (journalctl) that I get on connection with the old (working) version:
I compiled HEAD on the master branch (with a custom prefix), did a
Although no error messages are printed to stdout or stderr, I do see a similar error message in
I also double-checked that the PID referenced in this syslog message is the PID of the git HEAD version of bluetoothd that I am manually running. I don't know much about kernel bluetooth internals, but I tried clicking "Trust" on the device in |
After looking at the existing issues reported on this github, I thought that we might be dealing with a duplicate of #605, so I tried to replicate the issue using
|
I have the same issue.
This was the only way for connecting it correctly for after being displayed in |
I thought that this was an issue with blueman so I opened an issue on their github here but after some troubleshooting, the blueman maintainers think that this is actually a bug with bluez. Specifically "the device does not get marked as bonded at any time if it's not explicitly paired". This behavior is consistent across both bluetoothctl and blueman. To create the problem behavior:
To create the working behavior
The device must first be paired before it is connected, otherwise it will not work. This is different than the user-observable behavior that was present before the update, where unpaired-but-connected devices worked fine. |
On Archlinux after updating to 5.70-2 my ps3 controller stopped connecting and started asking for a pin code to connect. The update adds a patch for CVE-2023-45866. Downgrading seems to fix the issue. Seems like Ubuntu started shipping the same patch in 5.68-0ubuntu1.1, 5.66-0ubuntu1.1, 5.64-0ubuntu1.1 etc. |
@jerekulmala do you still have the same issue with the updated version if you first pair and then connect? |
@rs-gh-asdf When I pair the controller I plug it in with usb and press the ps button, take the usb cable out and then press again then it should connect, so I think I can't try the pair command with a ps3 controller. In bluetoothctl when trying to connect it gives me [agent] Enter PIN code: and trying any pin code, like 0000, it looks like the controller connects but looking at the ps3 controller 4 lights are blinking when normally connected one light stays on. After adding a config file in /etc/bluetooth/input.conf with ClassicBondedOnly=false I can connect the ps3 controller even with the newer version. |
Both the Ubuntu and the Arch Linux patches are simply 25a471a, i.e. they enable the ClassicBondedOnly option by default. |
I have the exact same issue with Wii Remote after bluez updated to *ubutnu1.1. quote from xwiimote manual:
|
I have the same issue on Arch Linux. @rs-gh-asdf I tried your method but can't seem to replicate your success in pairing before connection. My PS3 controller remembers my computers bt MAC address to try and connect to when I turn on the controller with the PS button. I can't pair first, because the second I turn my controller on it tries to connect back to my PC with "PIN required to pair", which is the problem. I can't seem to pair with it in
This is while it's plugged in by USB cable - which is the only way I can have the bluetooth of the controller ON but not actively trying to connect to my PC. So I don't know how you're able to "pair" before connecting it. Is there something I'm missing? (I did NOT set the ClassicBondedOnly yet, I wanted to try this first) |
Hi @quickishfm, I am not using a PS3 controller. I am using an 8bitdo Pro 2. I did not know about the PS3 controller's weird connecting system before I began looking into this issue. I think that you are having the same issue as @jerekulmala and I suspect that their solution would work for you too. Sorry I can't be more help. I'm not a developer or contributor on this project - I just want to play video games. |
Thanks @rs-gh-asdf I see. EDIT:
It worked after I trusted the MAC address using bluetoothctl. It's annoying that I have to regress on security to get this controller working again :/ EDIT 2: |
Is it possible to fix this without requiring a user to roll back security features? |
I am experiencing the same issue, and I've yet to find a controller that doesn't have this issue. With two different computers and 4 different Bluetooth adapters, I have tried:
The first four of these work over USB, and they all work over Bluetooth on older Bluez versions and on the latest version with They'll connect over Bluetooth but aren't registered as evdev input devices, so no |
@rs-gh-asdf Could reproduce on 2 separate 8Bit do Pro 2 controllers 5.71 Arch |
I have to say OMGPONIES11 ive been struggling with this for about 2 years. I am now free of the cable & my gaming can begin. Thanks . |
Running a Pi4 with a bullseye image and bluez 5.55.
This worked in old bluez versions (I think in buster with bluez 5.50) and it works in windows, too. Speaking of windows ... There is no need to enter any kind of PIN or Key. And also in the old buster days there was no Authentication required. Hope this issue can be fixed soon. |
Similar thing happened to me. I bought a PS4 controller to use, and after an update it would connect, then disconnect. I found a work around tonight. It has to do with audio. I hooked my PS4 controller up via USB and found I could use it as a sound device in PulseAudio. If you go to the configuration tab in PAVC, and disable the controller as a sound device, then connect it via Bluetooth, it'll work. I'm guessing something similar probably happens to other controller that have jacks for headsets. Might be some issue between PulseAudio, Pipewire and/or Bluez? Hope this helps! |
This workaround do not work for me, I tested it on two different devices:
Changing the input.conf file did nothing for me, I restarted bluetooth service, restarted the device, and nothing changed, and the sad thing is that I just ordered a 8bitdo Ultimate C Bluetooth before I found out about this... I'm trying to cancel the purchase and I'm already looking into buying the regular version in which comes with the USB Dongle |
@Krauzer94 I have this working with my 8bitdo Ultimate C Bluetooth controller by first pairing and then connecting as two separate actions. |
@rs-gh-asdf what about the PS3 controller? Have you done something special besides the input.conf manipulation? I do the following:
|
@Krauzer94 Sorry I don't have a PS3 controller so I can't test that. If you Ctrl+F this issue for PS3, PS4, or dualshock, some others have had success though. |
I emailed 8bitdo about this issue in January and got this response:
As a result, I can't recommend the controller for use on Linux. That said, I've been able to get it to work on Linux by doing the following:
At least on my end, going through the initial connecting process every time is the only way to get it to work over Bluetooth. If you try to connect to it again after pairing/trusting it, it will not work. I have to make the system forget about the controller entirely first and then connect. |
@alexdelorenzo Have you tried setting |
@nfp0 Looks like I set |
I found the solution for the Playstation 3 controller (DualShock3) on this Gentoo wiki: Worked with conjunction of the Arch wiki guide related to the What made the controller finally connect was the step where you are able to authorize the device, which was never triggered on my end while using my DE's system settings application, which for me is KDE Plasma. |
Setting For details see: |
I had a game controller that, after pairing, did not have any joystick available (no /dev/input/js*). Setting ClassicBondedOnly to false helped, but then auto-connect didn't work after power cycle: it would connect then disconnect. I had to pair it each time. Also I wasn't comfortable with the security implications. However, I found another workaround: I followed the steps for the Logitech BLE mouse with my game controller, and kept the default ClassicBondedOnly setting to true. I believe that the final Notes: I was unable to find the equivalent to bluetoothctl's (edit: bluez 5.72) |
On BlueZ 5.73, I can confirm that Bluetooth controllers work on my system again. I do not have to set |
With an update of seemingly unrelated (no bluez*) packages, staying at 5.70 doesn't work anymore for me (Wii U Pro controller). While blueman-manager now replies with success after a connection, the controller seems to disagree (keeps flashing its lights). However, sending a disconnect via blueman-manager turns the controller off .... so it appears there is some? connection... |
The earbuds are fine but my gamepad stopped working.
The text was updated successfully, but these errors were encountered: