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
1.95k stars 112 forks source link

spams connect/disconnect when connecting via bluetooth. #486

Open jgilmore opened 1 month ago

jgilmore commented 1 month ago

Version of xpadneo

cgilmore@Marnie:~/xpadneo$ git status On branch master Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean

as of filing this bug report. Where does it show the version number?

Controller Model

Unknown

Connection mode

Installed Software

Protocol Information

Bluetooth

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

Severity / Impact

Describe the Bug

Pairing, trusting, and connecting from the command line succeeds, but it then immediately disconnects.

If I connect using the "blueman applet" it connects, and then starts spamming connect/disconnect notifications. This continues until the controller's "flash quickly" mode times out.

Controller never rumbles, and remains at "flashes quickly" until it would have timed out anyway (as far as I can tell.)

System Information

Linux Marnie 6.8.0-38-generic #38-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun  7 15:25:01 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
# xxd -c20 -g1 /sys/module/hid_xpadneo/drivers/hid:xpadneo/0005:045E:*/report_descriptor | tee >(cksum)
Does not exist

Controller and Bluetooth Information

Additional Context

lsusb output is from when connected via USB. xpadneo-btmon.txt xpadneo-dmesg.txt xpadneo-lsusb.txt

kakra commented 1 month ago

= Index Info: 80:00:0B:44:04:57 (Intel Corp.) [hci0] 0.064844

This Bluetooth chipset is known to not work at all with the older Xbox controller firmwares, and with the newer firmware it still shows instabilities.

See https://github.com/atar-axis/xpadneo/blob/master/docs/BT_DONGLES.md and https://github.com/atar-axis/xpadneo/blob/master/docs/TROUBLESHOOTING.md

guoyunhe commented 1 week ago

I have similar issue with Bluetooth. But I found it only happens with Steam games, with or without xpadneo. So I think it is probably not a bug of xpadneo, but something wrong with Steam.

guoyunhe commented 1 week ago

Found a confirmed issue with Steam/Proton that can cause controller disconnect https://github.com/ValveSoftware/Proton/issues/7952

kakra commented 1 week ago

There are several situations which can cause such issues:

Please also check our troubleshooting docs in additional to all issues collected under https://github.com/users/atar-axis/projects/2. Unfortunately, Github migrated all the issues to the wrong categories but it is still helpful.