pcsx2 icon indicating copy to clipboard operation
pcsx2 copied to clipboard

[BUG]: PS3 Controller Not Detected On Linux

Open i-like-buff-green-women opened this issue 10 months ago • 7 comments

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

i-like-buff-green-women avatar Apr 14 '24 17:04 i-like-buff-green-women

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

refractionpcsx2 avatar Apr 14 '24 18:04 refractionpcsx2

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

JesseMatherly avatar Apr 14 '24 19:04 JesseMatherly

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.

refractionpcsx2 avatar Apr 14 '24 19:04 refractionpcsx2

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 avatar Apr 14 '24 21:04 TellowKrinkle

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

stenzek avatar Apr 15 '24 01:04 stenzek

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.

Relwi avatar Apr 16 '24 20:04 Relwi

can not replicate , DS3 works great with SDL

Mrlinkwii avatar Apr 26 '24 17:04 Mrlinkwii