From 0e446769ed8d950be2a11d2144ffc5cc2b3d1dd8 Mon Sep 17 00:00:00 2001 From: Mark Date: Sat, 19 Nov 2022 10:13:14 -0800 Subject: [PATCH] README & Makefile --- Makefile | 2 +- README.md | 13 +++++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index a9f95af..286333c 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ SRC_DIRS := ./src # False targets # (these are the only ones you manually run) -all: $(TARGET_EXEC) +all: libs $(TARGET_EXEC) run: all ./$(TARGET_EXEC) diff --git a/README.md b/README.md index 46fe671..cc4b881 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,17 @@ Host software for [Betalupi Ergodox](https://git.betalupi.com/Mark/QMK). - Music visualizer ([here](https://git.betalupi.com/Mark/hostdox/src/branch/master/src/signal_processing)) - Spell checking with hunspell -------------------------------------------------- + +## Permissions + +You'll need to run this binary as a regular user. To allow access to raw hid, add the following udev rule and reboot: + +```conf +KERNEL=="hidraw*", ATTRS{idVendor}=="3297", ATTRS{idProduct}=="4976", TAG+="uaccess", GROUP="mark", MODE="660" +``` + +See the hidraw repo for more information. + ## Dependencies: Run: @@ -17,7 +27,6 @@ Build: - ninja (for libmpdclient) - gcc -------------------------------------------------- ## Building