Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding udev rule to access /dev/uinput as user in Arch Linux #11

Closed
arilebedey opened this issue Apr 14, 2022 · 1 comment
Closed

Adding udev rule to access /dev/uinput as user in Arch Linux #11

arilebedey opened this issue Apr 14, 2022 · 1 comment

Comments

@arilebedey
Copy link

Since I found a way to add the needed udev rule on my system, I figured I'd share it here.

Create file in /etc/udev/rules.d/, for example 01-uinput-permission.rules, with the following content:

SUBSYSTEM=="misc", KERNEL=="uinput", MODE="0660", GROUP="uinput"

Create /etc/modules-load.d/uinput.conf with:

uinput

(trick found here)

and

reboot

NOTE: I also happened to create the uinput usergroup, and adding my user to it beforehand, which could've helped as well.

@arilebedey arilebedey changed the title Adding udev rule to access /dev/uinput in Arch Linux Adding udev rule to access /dev/uinput as user in Arch Linux Apr 14, 2022
@shiro
Copy link
Owner

shiro commented Apr 14, 2022

Good point, I'll add some docs or link the arch wiki once I have some time to work on this again.
Thanks! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants