From b4eea94baa7f15ff95bd2f084d66b141807d533b Mon Sep 17 00:00:00 2001 From: tmk Date: Sun, 2 Nov 2014 17:58:42 -0800 Subject: Updated FAQ (markdown) --- FAQ.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'FAQ.md') diff --git a/FAQ.md b/FAQ.md index df4aaf5825..5e17865e71 100644 --- a/FAQ.md +++ b/FAQ.md @@ -89,7 +89,7 @@ once the device is pluged in then *hid_listen* finds it you will get this messag Check if you can't get this 'Listening:' message: - build with `CONSOLE_ENABLE=yes` in **Makefile**. -## Can't get message from console +## Can't get message on console Check: - connect the device to *hid_listen*. See above. - push **LShift+RShift+d** to enable debug. See [Magic Commands](https://github.com/tmk/tmk_keyboard#magic-commands). @@ -97,6 +97,20 @@ Check: - try using 'print' function instead of debug print. See **common/print.h**. - disconnect other devices with console function. See [Issue #97](https://github.com/tmk/tmk_keyboard/issues/97). +## Linux or UNIX like system requires Super User privilege +Just use 'sudo' to execute 'hid_listen' with privilege. +``` +$ sudo hid_listen +``` + +Or add an *udev rule* for TMK devices with placing a file in rules directory. The directory may vary on each system. + +File: /etc/udev/rules.d/52-tmk-keyboard.rules(in case of Ubuntu) +``` +# tmk keyboard products https://github.com/tmk/tmk_keyboard +SUBSYSTEMS=="usb", ATTRS{idVendor}=="feed", MODE:="0666" +``` + *** # Miscellaneous -- cgit v1.2.3