uinput module not loaded

francbe83

New Member
Joined
Feb 28, 2023
Messages
2
Reaction score
0
Credits
27
Hello everyone,
i'm facing a problem i've been unable to solve despite having been searching the web for numerous days :/
i'm trying to use a PS4 controller to play games in Yuzu (the controller itself is recognized and usable right after being plugged in), to enable motion detection i installed DS4DRV using this procesure : https://github.com/epigramx/ds4drv-cemuhook
The problem is that the uinput module isn't loaded (/dev/ contains a empty uinput file), i cannot find any uinput.ko file anywhere neither.
I've read quite a few times that the issue might be caused by permissions to write the uinput file, in my case the command "sudo modprobe uinput" returns no error.
Has anyone encountered this kind of problem before ?
Thanks in advance.
 


@f33dm3bits,

thanks for your answer, unfortunately i have an error using this commande :
Code:
ben@ben-Z370M-D3H:~/Bureau/hid-sony-master$ sudo rmmod hid_sony && modprobe hid-sony
modprobe: ERROR: could not insert 'hid_sony': Operation not permitted

Prior to that, weird thing is that after launching DS4DRV i have a second "DualShock 4 Controller" appearing in Yuzu's controllers list. The first one seems to be the one directly detected by ubuntu as i plug it in (pressed keys are detected), the second one is created by DS4DRV but pressed keys are not detected.

Also, as DS4DRV is running, i can see messages about controller being disconnecter (for a udp port i didn't even supply)
example :
Code:
ben@ben-Z370M-D3H:~$ sudo ds4drv --hidraw --udp --trackpad-mouse
[sudo] Mot de passe de ben :
[info][controller 1] Created devices /dev/input/js1 (joystick) /dev/input/event29 (evdev)
[info][controller 1] Connected to USB Controller (40:1B:5F:A4:3D:91 40:1B:5F:A4:3D:91 hidraw4)
[info][hidraw] Scanning for devices
[info][controller 1] Battery: Fully charged
[udp] Client 127.0.0.1:44550 disconnected from 0
[udp] Client 127.0.0.1:44550 disconnected from 0
[udp] Client 127.0.0.1:44550 disconnected from 0
[udp] Client 127.0.0.1:44550 disconnected from 0
[udp] Client 127.0.0.1:44550 disconnected from 0
[udp] Client 127.0.0.1:44550 disconnected from 0
[udp] Client 127.0.0.1:44550 disconnected from 0
[udp] Client 127.0.0.1:44550 disconnected from 0
[udp] Client 127.0.0.1:44550 disconnected from 0
[udp] Client 127.0.0.1:44550 disconnected from 0
[udp] Client 127.0.0.1:33950 disconnected from 0
[udp] Client 127.0.0.1:44550 disconnected from 0
[udp] Client 127.0.0.1:34055 disconnected from 0
[udp] Client 127.0.0.1:34055 disconnected from 0
[udp] Client 127.0.0.1:34055 disconnected from 0
[udp] Client 127.0.0.1:34055 disconnected from 0

All of this is really frustrating, i'd love to be able to play BOTW on linux as Yuzu runs smoother than in windows...
 

Members online


Top