this post was submitted on 17 Mar 2026
5 points (85.7% liked)

Fedora Linux

2842 readers
13 users here now

All about Fedora Linux

founded 6 years ago
MODERATORS
 

I was trying to get my Sony DualSense controller to work ingame and managed to google my way to a solution (I think).

The controller works fine in Steam fullscreen mode, but refuses to pass the signals on to the game?

I found this, and started following the instructions and everything went well until I came to point 5.

What does it mean to "put 'X' into 'Y' file"? How do I do this? Which commands do I need to input in my console? is 'uinput' a separate file that I missed to download or do I just need to append the text "uinput" to the file somehow?

you are viewing a single comment's thread
view the rest of the comments
[–] Ephera@lemmy.ml 2 points 17 hours ago* (last edited 17 hours ago)

Yeah, it's saying to just put the text "uinput" into that file.

It's basically just a list of kernel modules to load. You only need one kernel module, which's name happens to be "uinput".

What might confuse you, is that you already had to name that file "uinput.conf", but that name is actually completely irrelevant. It will just concatenate all the files in /etc/modules-load.d/, throw out the duplicate lines and then load all those kernel modules.
The advantage of a separate file like this, is that you can easily template it, if you want to script these setup steps, rather than having to build complex logic to try to check whether the "uinput" line is already in the file, and only adding it, if it isn't.

Here's some more documentation: https://www.man7.org/linux/man-pages/man5/modules-load.d.5.html