aboutsummaryrefslogtreecommitdiff
path: root/docs/faq_debug.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/faq_debug.md')
-rw-r--r--docs/faq_debug.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/faq_debug.md b/docs/faq_debug.md
index 872b1688e..13a649bfa 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
109 109
110You may need privileges to access the device an OS like Linux. Try `sudo hid_listen`. 110You may need privileges to access the device an OS like Linux. Try `sudo hid_listen`.
111 111
112On many Linux distros you can avoid having to run hid_listen as root
113by creating a file called `/etc/udev/rules.d/70-hid-listen.rules` with
114the following content:
115
116```
117SUBSYSTEM=="hidraw", ATTRS{idVendor}=="abcd", ATTRS{idProduct}=="def1", TAG+="uaccess", RUN{builtin}+="uaccess"
118```
119
120Replace abcd and def1 with your keyboard's vendor and product id,
121letters must be lowercase. The `RUN{builtin}+="uaccess"` part is only
122needed for older distros.
123
124
112## Can't Get Message on Console 125## Can't Get Message on Console
113Check: 126Check:
114- *hid_listen* finds your device. See above. 127- *hid_listen* finds your device. See above.