this post was submitted on 16 Aug 2023
6 points (87.5% liked)
Arch Linux
7739 readers
1 users here now
The beloved lightweight distro
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Looks like your uinput module isn't being loaded at boot
Have you added a file
uinput.conf
withuinput
as its content at/etc/modules-load.d
?I have tried this but the problem persists after a reboot.
UPDATE: I have tested this again. I forgot to mention that it's even worse with an
/etc/modules-load.d/uinput.conf
. After a reboot, I get the same error as before but asudo modprobe uinput
doesn't help anymore. I have to runsudo modprobe -r uinput; sudo modprobe uinput
to fix theopenFd: permission denied
error (temporarily).Try change your udev rule to
KERNEL=="uinput", MODE="0660", GROUP="uinput", TAG+="uaccess", OPTIONS+="static_node=uinput"
Maybe you don't grant uaccess to your device
I have an uinput device configured as well and my setup is:
KERNEL=="uinput", SUBSYSTEM=="misc", TAG+="uaccess", OPTIONS+="static_node=uinput"
This fixes it. Thank you! Do you know why I need
TAG+="uaccess"
now but didn't need it in the past?I have no clue