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
[BUG] PS4/DS4 Controller spams 'X' (cross) and sometimes a navigational direction after connecting #513
Comments
Unfortunately, this is the issue with having DualShock 4 controllers connected via Bluetooth. I have yet to find a solution to it so I have them connected via USB for now. |
Seems like an issue that could be easily resolved in the Bluetooth stack. If the hardware is not defective, and is in fact not actually sending out button spams, then it is a mis-identification of the incoming Bluetooth data. Mayflash will be making a PS4 controller dongle like their PS3 controller dongle in several months. |
The issue is twofold as you not only have the bluetooth stack, but the kernel driver as well. I will test a 4.5 or 4.6 kernel and let you know the outcome. |
I'd be willing to look at code as well but have 0 experience with this sort of environment. Can't make heads or tails of where any relevant source code may be... I mean it looks like none of it is even hosted on github for starters. |
Have a look here: https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/log/?id=refs/tags/v4.5.5 and search for dualshock. The relevant file is at drivers/hid/hid-sony.c. I've compared the driver in the stable kernel (4.5.x) with the driver in the SteamOS kernel (4.1.x) and have found a large difference between the two (over 400 lines of code added for 4.5.5). Here are the hid-sony.c file for Linux 4.1 (SteamOS), Linux 4.5.5 (Stable), and a diff that shows the two files side by side. |
So I did do some testing in Ubuntu GNOME 15.10 (and maybe 16.04 can't remember) and noticed the same issues with the bluetooth controller so I'd wager the problems are still there in 4.5.x. |
This issue needs to be fixed upstream before a patch can be proposed to improve the situation on SteamOS. |
As a data-point, this exact same issue happens to me with a DualShock 4 in standard Big Picture Mode on OS X. I do not believe this issue to be localized to the SteamOS bluetooth stack, or to the tenfoot display-mode. (I've been back-and-forth with Steam support about it a few times, with no resolution.) |
Well IIRC OS X also uses Linux kernels (probably modified) so basically that just helps confirm it's an issue across Linux kernels which I think was already known since the same issue happens in other Debian distros as it is. Hence Tele42's comment about this issue needing to be fixed upstream. Basically my report here is kind of pointless >.> |
n…no, OS X does not use any part of the Linux kernel, much less the That's why I brought it up: I don't see the repeated-cross /
|
Interesting... Didn't consider that it wasn't an issue after getting into a game but I don't think I've seen this issue in game either. Just in BPM. So ya my bad. I think your right about that. |
I have the same issue as well unfortunately. |
Your system information
Please describe your issue in as much detail as possible:
Happens with pretty high regularity. Happened last three times I booted SteamOS and turned on controller.
In order to 'fix' it, I need to hold the PS button until the controller turns off which always results in the glitch automatically launching into Desktop.
Steps for reproducing this issue:
The text was updated successfully, but these errors were encountered: