philipl / evdevremapkeys

Daemon to remap events on linux input devices
MIT License
128 stars 40 forks source link

evdev.uinput.UInputError: "/dev/uinput" cannot be opened for writing #24

Open dumblob opened 3 years ago

dumblob commented 3 years ago

Don't have time to make a PR, but to avoid the error from issue title, I'd propose adding a /etc/udev/rules.d/10-evdevremapkeys.rules file to examples with the following content:

# uncomment in case of:
#     evdev.uinput.UInputError: "/dev/uinput" cannot be opened for writing
# see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=827240
#KERNEL=="uinput", SUBSYSTEM=="misc", OPTIONS+="static_node=uinput", TAG+="uaccess", GROUP="input", MODE="0660"

(shall solve issues on Debian and ArchLinux)

philipl commented 3 years ago

Fair call. I have the steam deb installed which adds this rule for steam controller purposes. Can add after we merge #23

DanielJoyce commented 3 years ago

I think this is given in the docs work I did. Please check