Skip to content
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]: PS3 Controller Not Detected On Linux #11076

Open
i-like-buff-green-women opened this issue Apr 14, 2024 · 7 comments
Open

[BUG]: PS3 Controller Not Detected On Linux #11076

i-like-buff-green-women opened this issue Apr 14, 2024 · 7 comments
Assignees

Comments

@i-like-buff-green-women
Copy link

i-like-buff-green-women commented Apr 14, 2024

Describe the Bug

Less of a bug, more of a report.

OEM PS3 controller was not detected via USB [this machine does not have bluetooth, so test with that wasn't an option].

Ran jstest on /dev/input/js1 [it was addressed to js1 instead of js0] which passed all test. Tested with https://hardwaretester.com/gamepad and the .elf file, per official instructions - gamepad tester worked, the .elf file did not, as to be expected, since PCSX2 wasn't recognizing the controller, but wasn't going to skip a step.

TellowKrinkle in the PCSX2 Discord recommended this: https://wiki.rpcs3.net/index.php?title=Help:Controller_Configuration#On_Linux which fixed the issue and provided full support.

I would also like to add that some Linux users may experience an issue where the left analog stick controls the mouse cursor. That's an easy fix:

sudo nano /etc/X11/xorg.conf.d/51-joystick.conf

Then dump in this and save:

Section "InputClass"
Identifier "joystick catchall"
MatchIsJoystick "on"
MatchDevicePath "/dev/input/event*"
Driver "joystick"
Option "StartKeysEnabled" "False" #Disable mouse
Option "StartMouseEnabled" "False" #support
EndSection

Reproduction Steps

See details above.

Expected Behavior

No response

PCSX2 Revision

v1.7.5703

Operating System

Linux (64bit) - Specify distro below

If Linux - Specify Distro

antiX 23.1

Logs & Dumps

No response

@refractionpcsx2
Copy link
Member

okay thanks but this issue tracker is reserved for PCSX2 issues, so I will be closing.

@JesseMatherly
Copy link

This is regarding PCSX2. Users in the Discord requested I generate this.

@refractionpcsx2
Copy link
Member

Okay but you said it wasn't a bug and that it was fixed, then gave a solution outside of PCSX2. I can't watch the Discord 24/7.

@TellowKrinkle
Copy link
Member

This bug is not fixed, enabling raw hidapi access is a workaround but we should be able to talk to a DS3 without hidapi as well (just without pressure sensitive buttons)

@TellowKrinkle TellowKrinkle changed the title [BUG]: PS3 Controller Not Detected On Linux [Fixed] [BUG]: PS3 Controller Not Detected On Linux Apr 14, 2024
@stenzek
Copy link
Member

stenzek commented Apr 15, 2024

That sounds like a setup specific issue? (if the kernel isn't providing the appropriate events)
Or SDL..

@Relwi
Copy link

Relwi commented Apr 16, 2024

I tested a PS3 controller and mine is working fine, I'm on Arch Linux with kernel 6.8.5. I tested with the PCSX2 v1.7.5703 too.
I connected the controller and it seems to work out-of-the-box with SDL.

@Mrlinkwii
Copy link
Contributor

can not replicate , DS3 works great with SDL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants