-
Notifications
You must be signed in to change notification settings - Fork 247
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
PS5 controller will no longer pair with bluetoothd #614
Comments
Hey, I've encountered the same issue with my PS5 Controller failing to pair with version 5.70 on Fedora 38 KDE Spin, both on my laptop and desktop. It seems like this commit was intended to address the problem: here, but I'm still experiencing the same issue as I did with version 5.69. Blueman fails to pair the controller to my computers, and bluetoothctl also fails. After some further testing, I'm able to replicate what this person commented here. If I reboot my computer and turn on the controller, it is able to automatically pair and works as expected. |
I'm am also still having this issue, and my logs look identical to the OP's posted logs, strangely this seem to only effect Dualsense controllers, because my 8bitdo Pro 2 controller works just fine. |
Have you guys tried pairing with bluetoothctl? Do you guys can collect HCI traces with btmon. |
I wonder if this has something to do with: https://patchwork.kernel.org/project/bluetooth/patch/20231003211442.3348427-1-luiz.dentz@gmail.com/ |
I just tried running the pairing via bluetoothctl, see the relevant output below. I sanitized the logs following the pattern of "YY:YY:YY:YY:YY:YY" = the PC's bluetooth hardware controller, "XX:XX:XX:XX:XX:XX" = the Sony PS5 Dualsense Controller. [bluetooth]# scan on
Discovery started
[CHG] Controller YY:YY:YY:YY:YY:YY Discovering: yes
[NEW] Device XX:XX:XX:XX:XX:XX DualSense Wireless Controller
[bluetooth]# connect XX:XX:XX:XX:XX:XX
Attempting to connect to XX:XX:XX:XX:XX:XX
[CHG] Device XX:XX:XX:XX:XX:XX Connected: yes
[CHG] Device XX:XX:XX:XX:XX:XX ServicesResolved: yes
Failed to connect: org.bluez.Error.NotAvailable br-connection-profile-unavailable
[CHG] Device XX:XX:XX:XX:XX:XX ServicesResolved: no
[CHG] Device XX:XX:XX:XX:XX:XX Connected: no
[bluetooth]# scan off
[CHG] Controller YY:YY:YY:YY:YY:YY Discovering: no
Discovery stopped
I repeated the process above with btmon running as root. I apologize for the noise in these logs, I live in an apartment building so there are many devices nearby and I didn't want to accidentally delete important info. I sanitized them following the same pattern I listed above. I attached them to this comment. |
Having the same issue as well, can also confirm that I have no issue after downgrading back to 5.68 |
I am also having the same issue with 2 DualShock 4 controllers tested on 2 different Arch computers on bluez 5.70 |
I am also having this issue, checked bluetoothctl and it is the same output. |
Any chance for one of you guys having this problem to bisect the patch which introduces it? |
I have the same Problem. Version 5.70 and 5.69 dont work. Only Version 5.68 works fine. Here are maaaaaaaany logs. Automatic with Kde. Over Terminal with bluetoothctl. Journal etc. Arch Linux. |
Looks like it failing because it cannot find any SDP record, now it really beats me why that wouldn't be the case for 5.68 but perhaps something has changed in the package in the meantime? Perhaps the cache location is wrong or something, what distro are you guys using and what is the content of bluetooth.service? |
I think I know what is going on, it is probably due to the following change 67a26ab, input-hid plugin probably requires input-hid to be resolved to be probed contrary to only when it is connected/connecting, so it fails to probe, I will try to come up with a fix for it in the upcoming days. |
Arch Linux.
The Content of bluetooth.service is perhaps the same like for 5.68.
> now it really beats me why that wouldn't be the case for 5.68 but
perhaps something has changed in the package in the meantime?
yeah, indeed. And i can say exactly what: Everything that got added and
edited since Version 5.69 :D jk
|
Due to changes introduced by 67a26ab ("profile: Add probe_on_discover flag") profiles may get probed when their profile UUID are discovered, rather than resolved, which means the SDP record may not be available. Fixes: bluez/bluez#614
Could one if you guys please try with the above patch? |
If you tell me how, i would try it! |
I'm gonna give it a try in a bit. |
@Vudentz I can confirm that fixes it! 🙂 |
Forgot to mention, this is on a PS4 controller. Don't have a PS5 controller to test. |
@Absolutely-Free can you please check as well? @nfp0 perhaps you can add the package you have created so others people running the same distro can test with their peripherals. |
Sure! |
Thanks. I can confirm that this fix it for dualsense (ps5) too. |
Thanks for this @nfp0 !
I can also confirm that this fix works! Thank you for your work on this @Vudentz , we all appreciate it! |
Not sure why this is closed. It was never fixed. |
It was fixed in a recent patch but there hasn't been a new release, wait for a new release or downgrade to 5.68 |
Since this was a regression, isn't a bugfix release planned for soon? |
Still seems to be an issue on 5.71 and PS4 controller. |
Is there any fix in the 5.72 now? Or does this pairing problem still exist? |
it has been fixed a week later or something like that. |
Does not work for me ...
This is a compiled 5.72 on a Raspberry Pi 3. |
Can you try to compile this? Hint: to synchronize git to that commit, do a |
Doesn´t look well ...
But I will do another test this evening. Will start from a clean installation to avoid any conflicts with some precompiled stuff. But anyway ... The first try was not successful - even after a reboot. BTW: Can I check if I actually run this specified version I compiled? |
I don' think so. |
Is this mentioned fix for PS controller only? |
I honestly have no clue, I think it cover more than PS5 controllers, but I don't know about generic controllers. |
Ok I can confirm that this compiled commit "d994c9d45dad68bc060add77642fdc37834cd7c1" works with
I will track that in my initial post #605 |
Still not working for me in version 5.73. Currently downgrading all the way back to 5.68. I'm on Arch btw. I see earlier in the thread that it was supposedly fixed, but I've never had it work again with any version upgrade since it broke in 5.69. |
I confirm that it's working with bluez 5.75-1 with |
Thanks @lucasmb . I was able to duplicate your connecting with an error message. However, it doesn't show up in Steam so still essentially broken for me--worked perfectly fine with no error messages and showed up in steam before the break in 5.69. I'll just continue with my current method of using a usb-c cable which just works and try again in the future. |
bluez 5.75-1 on arch/kde and still the same here as well. Trying to connect a Dualsense via KDE bluetooth applet results in an error, turning on the controller again it appears to connect, and shows connected in KDE panel but no game sees that it's connected. |
I recently had some time to game but found that my PS5 controller will no longer pair with either of my computers that I game on.
I originally noticed this issue for the first time yesterday, and while troubleshooting I found issue #594 which seems to describe my issue perfectly. If I try to pair the controller from my previously working paired devices using KDE's GUI, I get error messages and the controller never connects to the computer. If I delete the device from the GUI and try to pair the devices for the first time again, the controller will show up when it's in pairing mode while going through the setup wizard but will fail to pair. If I check
systemctl status bluetooth
I see the same errors repeating every time I try to pair the devices (personal info modified):pacman -Qs bluez
shows:Issue #594 was closed with a comment implying that the issue was fixed in version 5.70, which was still in the Arch testing repos yesterday. Today the new version hit the official repos so I updated, rebooted, and tried again, but I am still getting the exact same errors.
I can reproduce this exact same issue on two different computers, both of which are up-to-date Arch Linux with KDE, both have different generations of intel wifi/bluetooth hardware, and both of which worked correctly with this controller when I last had time to game (~3 months ago). I also just updated the firmware for the controller using Sony's updater with a Windows computer, and the problem is still persisting. The controller works correctly over USB in Arch, and the bluetooth worked correctly with my Windows machine, so I believe the issue is definitely with either bluez or KDE's software that depends on it. Since issue #594 seems to describe my issue exactly, I am reporting the bug here first.
Not sure what other info may be relevant or useful, but I am happy to provide any other info requested.
The text was updated successfully, but these errors were encountered: