Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

DS4 controller not working in either lutris or steam

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
jerol
n00b
n00b
Posts: 64
Joined: Sat Feb 12, 2022 5:59 pm

DS4 controller not working in either lutris or steam

  • Quote

Post by jerol » Sat Feb 15, 2025 1:56 pm

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.
Top
Ralphred
l33t
l33t
Posts: 822
Joined: Tue Dec 31, 2013 11:52 am

  • Quote

Post by Ralphred » Sat Feb 15, 2025 3:59 pm

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.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56082
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Sat Feb 15, 2025 4:29 pm

jerol,

Does your kernel have

Code: Select all

CONFIG_HID_SONY
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.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56082
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Sat Feb 15, 2025 4:29 pm

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.
Top
jerol
n00b
n00b
Posts: 64
Joined: Sat Feb 12, 2022 5:59 pm

  • Quote

Post by jerol » Sat Feb 15, 2025 6:23 pm

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:

Code: Select all

CONFIG_HID_SONY=m
lsmod | grep playstation

Code: Select all

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.
Top
Ionen
Developer
Developer
User avatar
Posts: 3013
Joined: Thu Dec 06, 2018 2:23 pm

  • Quote

Post by Ionen » Sat Feb 15, 2025 6:31 pm

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.
Top
jerol
n00b
n00b
Posts: 64
Joined: Sat Feb 12, 2022 5:59 pm

  • Quote

Post by jerol » Sat Feb 15, 2025 6:43 pm

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: Select all

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: Select all

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
Top
mintyTHPS
n00b
n00b
User avatar
Posts: 6
Joined: Sat Sep 28, 2024 10:37 pm

  • Quote

Post by mintyTHPS » Thu Mar 06, 2025 2:38 am

PLAYSTATION_FF may be your answer
Top
Post Reply

8 posts • Page 1 of 1

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic