From: tmk Date: Mon, 3 Nov 2014 01:58:42 +0000 (-0800) Subject: Updated FAQ (markdown) X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=b4eea94baa7f15ff95bd2f084d66b141807d533b;p=qmk_firmware.git Updated FAQ (markdown) --- diff --git a/FAQ.md b/FAQ.md index df4aaf582..5e17865e7 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