View previous topic :: View next topic |
Author |
Message |
jerol n00b

Joined: 12 Feb 2022 Posts: 64
|
Posted: Sat Feb 15, 2025 1:56 pm Post subject: DS4 controller not working in either lutris or steam |
|
|
I'm on void, just tried to adding myself to the input group, but it made no difference. Tried GE-Proton-20, GE-Proton-25, Wine-GE.
Usually it gets picked up on steam atleast, I also enabled the ps4 controller support on steam but it still didn't pick it up, tried big picture mode etc.
Lsusb picks it up: Sony Corp. DualShock 4 [CUH-ZCT2x]
dmesg | grep Controller = https://bpa.st/LBBA
Any help highly appreciated!
Side note: In pavucontrol it shows up as both and input and an output audio device :S
Edit: The correct module is being loaded, and I can use the touchpad still. |
|
Back to top |
|
 |
Ralphred l33t

Joined: 31 Dec 2013 Posts: 725
|
Posted: Sat Feb 15, 2025 3:59 pm Post subject: |
|
|
With steam not running, what is the output of ls -l /dev/input/js*?
EDIT: I have the same model, and it works fine over both USB and BT. |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 54875 Location: 56N 3W
|
Posted: Sat Feb 15, 2025 4:29 pm Post subject: |
|
|
jerol,
Does your kernel have set.
There is also a force feedback suboption _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 54875 Location: 56N 3W
|
Posted: Sat Feb 15, 2025 4:29 pm Post subject: |
|
|
Moved from Gamers & Players to Unsupported Software as its a Void Linux question _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
jerol n00b

Joined: 12 Feb 2022 Posts: 64
|
Posted: Sat Feb 15, 2025 6:23 pm Post subject: |
|
|
Yeah it's weird because I too got it working on gentoo without any hassle after I loaded the module :S And I think I have used a controller on void before too without hassling with it.
CONFIG_HID_SONY is built as a it seems module.
grep CONFIG_HID_SONY /usr/src/kernel-headers-6.6.77_1/.config:
lsmod | grep playstation
Code: |
hid_playstation 45056 0
|
ls -l /dev/input/js* returns js0
Edit: I'm actually running 6.12.13_1 for some reason.
Ignore this last part ^ ....I somehow in my brain thought it was a smaller number :p
Last edited by jerol on Sat Feb 15, 2025 6:37 pm; edited 1 time in total |
|
Back to top |
|
 |
Ionen Developer


Joined: 06 Dec 2018 Posts: 2896
|
Posted: Sat Feb 15, 2025 6:31 pm Post subject: |
|
|
You might need games-util/game-device-udev-rules if not already, has some DS4-specific rules.
Edit:
wrt lutris, since wine-9.2 or so I forget, wine changed the default for DS4 to use hidraw directly rather than sdl2, which requires the above (and even then it may be flaky, I feel old default was better)
Not that I can really confirm anything, my old DS4 died few years ago and been using a xone controller which been giving me less trouble than the DS4 did back then. |
|
Back to top |
|
 |
jerol n00b

Joined: 12 Feb 2022 Posts: 64
|
Posted: Sat Feb 15, 2025 6:43 pm Post subject: |
|
|
Only package that could be I guess relevant that I found in the official repos is steam-udev-rules, and I have it already installed.
Searching for it in the void-packages or void-src whatever doesn't seem to return anything that significant either. grepped for both game and udev.
Edit:
And that's the weird thing, I've never really had trouble with my ds4 controller before. Yeah on gentoo I remember looking for the module, but aside that it has 95% of the time worked depending on the game.
I think it's down to udev rules, consulted chatgpt and made a file in: /etc/udev/rules.d/50-ds4.rules
Code: |
SUBSYSTEM=="input", ATTRS{name}=="*Sony
Interactive Entertainment*", MODE="0666"
KERNEL=="uinput", MODE="0660", GROUP="input",
OPTIONS+="static_node=uinput"
|
It made it get recognized, but it acted in weird ways :p
Okay it might not have been the udev rules, because I deleted them and rebooted and it still gets recognized but acts weirdly, my mouse pops up etc. Before adding the rules I disabled the "audio device":
Code: |
pactl list short cards
pactl set-card-profile <id> off
|
After disabling the udev rules it works?? Was it the audio device interfering afterall? But I remember on gentoo that I used the controller and at the same time I had the "audio device" on.
Okay after awhile in lutris it started detecting as an xbox controller ingame, and wine control panel in lutris calls it: "wireless controller", even though it's wired. In steam it's being recognized as a ds4 controller though. Although still in /dev/input/by-id/ it is a wireless controller :p |
|
Back to top |
|
 |
|