atar-axis / xpadneo

Advanced Linux Driver for Xbox One Wireless Controller (shipped with Xbox One S)
https://atar-axis.github.io/xpadneo/
GNU General Public License v3.0
2.01k stars 113 forks source link

Can't play with two controllers #483

Closed kelna closed 3 months ago

kelna commented 3 months ago

Version of xpadneo: 0.9.6-1

Controller Model

Connection mode

Installed Software

Protocol Information

Please help us identify at which layer the problem can be found if you want to report mapping errors or if the controller fails to be detected:

Please describe how it is failing below in the next sections.

Severity / Impact

Describe the Bug

I want to play split screen co-op with two controllers. It doesn't work. Both controllers work individually but not at the same time.

Steps to Reproduce

Expected Behavior

It should work. I used to play coop on Linux with these two controllers with an Xbox dongle and xone. Then it stopped working for some reason. Now I want to try xpadneo.

Screenshots / GIFs / Videos

System Information

# uname -a
Linux x 6.9.10-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 18 Jul 2024 18:06:13 +0000 x86_64 GNU/Linux
# xxd -c20 -g1 /sys/module/hid_xpadneo/drivers/hid:xpadneo/0005:045E:*/report_descriptor | tee >(cksum)
zsh: no matches found: /sys/module/hid_xpadneo/drivers/hid:xpadneo/0005:045E:*/report_descriptor
4294967295 0

Controller and Bluetooth Information

Additional Context

kakra commented 3 months ago

If it stopped working, the problem is at another layer, and xpadneo can do nothing about it. I'll try a game that supports multiple controllers to see if it still works for me.

Which game did you try?

kelna commented 3 months ago

Unravel Two on Steam

kelna commented 3 months ago

Oh, now it works. I don't know what solved the issue, but I uninstalled and reinstalled both xone and xpadneo several times. Xone doesn't work at all, but xpadneo does and now I can play multiplayer. Thanks and sorry for the issue.

kakra commented 3 months ago

Then this is probably an issue with bluez keeping devices around that have been disconnected. If you pair the first controller, disconnect it, it will stay as a visible device in the system. If you then connect a USB controller, it will become second. Then pair another wireless controller and it will become the third controller and stay at that position: You game may not recognize it even if you disconnected the USB controller. A reboot usually resolves this, and restarting bluez should also resolve that.