diff options
author | QMK Bot <hello@qmk.fm> | 2021-03-03 21:32:18 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2021-03-03 21:32:18 +0000 |
commit | 064265166ca519f52253ff836866a88940070986 (patch) | |
tree | 98767a45cad0a09135c2415ed12b6a8628d1cdf6 /docs/faq_debug.md | |
parent | 9f6ce448bd98bb00178de421afcede9a99223afe (diff) | |
parent | 4c3090ace922c06d00df12f7fc5d0f2d0f194fae (diff) |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'docs/faq_debug.md')
-rw-r--r-- | docs/faq_debug.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/faq_debug.md b/docs/faq_debug.md index 872b1688ed..13a649bfa2 100644 --- a/docs/faq_debug.md +++ b/docs/faq_debug.md @@ -109,6 +109,19 @@ If you can't get this 'Listening:' message try building with `CONSOLE_ENABLE=yes You may need privileges to access the device an OS like Linux. Try `sudo hid_listen`. +On many Linux distros you can avoid having to run hid_listen as root +by creating a file called `/etc/udev/rules.d/70-hid-listen.rules` with +the following content: + +``` +SUBSYSTEM=="hidraw", ATTRS{idVendor}=="abcd", ATTRS{idProduct}=="def1", TAG+="uaccess", RUN{builtin}+="uaccess" +``` + +Replace abcd and def1 with your keyboard's vendor and product id, +letters must be lowercase. The `RUN{builtin}+="uaccess"` part is only +needed for older distros. + + ## Can't Get Message on Console Check: - *hid_listen* finds your device. See above. |