From 7db9ec92eb3fb95e1a86a868cc4e701b9a635125 Mon Sep 17 00:00:00 2001 From: Andreas Aronsson Date: Tue, 24 May 2022 21:55:47 +0200 Subject: [PATCH] Add arch specific advice --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 0e8aef0..bc79e6a 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,21 @@ sudo gpasswd -a YOUR_USER input echo 'KERNEL=="uinput", GROUP="input"' | sudo tee /etc/udev/rules.d/input.rules ``` +The following can be used on Arch. + +```bash +lsmod | grep uinput +``` +If this module is not loaded, add to `/etc/modules-load.d/uinput.conf`: +```bash +uinput +``` +Then add udev rule. + +```bash +echo 'KERNEL=="uinput", GROUP="input", MODE="0660"' | sudo tee /etc/udev/rules.d/99-input.rules +``` + In other platforms, you might need to create an `input` group first and run `echo 'KERNEL=="event*", NAME="input/%k", MODE="660", GROUP="input"' | sudo tee /etc/udev/rules.d/input.rules` as well.