Bug 1713896
Summary: | Dualshock 4 via Bluetooth Connects and Immediately Disconnects | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Antoine Saroufim <antoine.saroufim> |
Component: | bluez | Assignee: | Don Zickus <dzickus> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 30 | CC: | alex.go4more, anothersname, bnocera, dwmw2, dylanjamesfenn, dzickus, jmoskovc, spacewar |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | bluez-5.50-8.fc30 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-06-18 18:13:36 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Antoine Saroufim
2019-05-25 14:40:51 UTC
I can confirm similar behaviour with the DS3. I have both a DS4v2 and three DS3 controllers. They work fine over USB. But continuously disconnect and reconnet when attempting to use bluetooth. The DS3 only does this once. The DS3's continuously attempt. Here is a pastebin dump of bluetoothctl: https://pastebin.com/YZKgqD6j And here's a dump of 'journalctl -r -u bluetooth' with '/usr/lib/systemd/system/bluetooth.service' line 'ExecStart=/usr/libexec/bluetooth/bluetoothd -d': https://pastebin.com/w3pVnR4h Can confirm the exact same issues with the gen 1 DS4. On any attempt to reconnect: [bluetooth]# connect 40:1B:5F:39:74:9D Attempting to connect to 40:1B:5F:39:74:9D Failed to connect: org.bluez.Error.Failed [CHG] Device 5A:7E:E8:F2:CF:55 ManufacturerData Key: 0x004c [CHG] Device 5A:7E:E8:F2:CF:55 ManufacturerData Value: 0c 0e 00 66 3f 98 7c e2 2a 36 ec 1b 2f b4 ea f7 ...f?.|.*6../... 10 05 0b 1c 45 e6 01 ....E.. gnome-bluetooth doesn't run in the background, so it is very very unlikely to ever be responsible for this sort of problems. In this case, it's likely this problems with Bluetooth 2.0 (and earlier) devices: https://lore.kernel.org/linux-bluetooth/20190522070540.48895-1-marcel@holtmann.org/T/ Could you please test with kernel 5.1.5 (or newer)? Issue still valid on kernel 5.1.5-300.fc30.x86_64 as provided by Fedora Silverblue (In reply to Antoine Saroufim from comment #0) > Description of problem: > > When connecting an already-paired & trusted Dualshock 4 controller, it > connects and then immediately disconnects. If the controller is in pair > mode, it doesn't connect unless it's manually paired via bluetootctl. Note that "manually pairing" the device, using the PS+Share buttons will not work as you expect. Only use the cable pairing if you want it to stick. Please test with this bluez update, which should fix problems with PlayStation 4 controllers pairing: https://bodhi.fedoraproject.org/updates/FEDORA-2019-5101717387 (In reply to Bastien Nocera from comment #6) > (In reply to Antoine Saroufim from comment #0) > > Description of problem: > > > > When connecting an already-paired & trusted Dualshock 4 controller, it > > connects and then immediately disconnects. If the controller is in pair > > mode, it doesn't connect unless it's manually paired via bluetootctl. > > Note that "manually pairing" the device, using the PS+Share buttons will not > work as you expect. Only use the cable pairing if you want it to stick. > > Please test with this bluez update, which should fix problems with > PlayStation 4 controllers pairing: > https://bodhi.fedoraproject.org/updates/FEDORA-2019-5101717387 Hey Bastion, just tested your bluez update and it works great! Didn't even have to open bluetoothctl to pair. Paired to my DS4 successfully just by putting it into pairing mode (PS+Share). NO WIRE NEEDED. So awesome. Also only did it through gnomes settings/bluetooth front end. How long until this release makes it into fedora 30 stable repos? And how to I undo the change 'sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2019-5101717387' once this release is mainstream? Thanks (In reply to Dylan Fenn from comment #7) > (In reply to Bastien Nocera from comment #6) > > (In reply to Antoine Saroufim from comment #0) > > > Description of problem: > > > > > > When connecting an already-paired & trusted Dualshock 4 controller, it > > > connects and then immediately disconnects. If the controller is in pair > > > mode, it doesn't connect unless it's manually paired via bluetootctl. > > > > Note that "manually pairing" the device, using the PS+Share buttons will not > > work as you expect. Only use the cable pairing if you want it to stick. > > > > Please test with this bluez update, which should fix problems with > > PlayStation 4 controllers pairing: > > https://bodhi.fedoraproject.org/updates/FEDORA-2019-5101717387 > > Hey Bastion, just tested your bluez update and it works great! Didn't even > have to open bluetoothctl to pair. > > Paired to my DS4 successfully just by putting it into pairing mode > (PS+Share). NO WIRE NEEDED. So awesome. Also only did it through gnomes > settings/bluetooth front end. Using PS+Share is not recommended. But as long as it works... > How long until this release makes it into fedora 30 stable repos? And how to > I undo the change 'sudo dnf upgrade --enablerepo=updates-testing > --advisory=FEDORA-2019-5101717387' once this release is mainstream? It's the same package, so there's no need to do anything. It'll appear faster if you give it the thumbs up on the updates page :) FEDORA-2019-5101717387 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-5101717387 Bastion Would your fix affect this behaviour? https://bugzilla.redhat.com/show_bug.cgi?id=1671123 (In reply to Anthony Name from comment #10) > Bastion > > Would your fix affect this behaviour? > > https://bugzilla.redhat.com/show_bug.cgi?id=1671123 No, not for this type of device. Make sure you use at least kernel 5.1.5, and be on the lookout for "updates-testing" kernel updates in coming days too. bluez-5.50-8.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report. |