diff options
| author | fauxpark <fauxpark@gmail.com> | 2020-07-13 01:24:28 +1000 |
|---|---|---|
| committer | fauxpark <fauxpark@gmail.com> | 2020-09-19 05:21:31 +1000 |
| commit | 72b1ff5899763cf76b1cc1669c684fbc45cee7c4 (patch) | |
| tree | 044e543142cbdc7b5625ac4fa59f718a496b2c27 | |
| parent | eee6dd35446542c40c0f2a7827d9754aefd248e9 (diff) | |
| download | qmk_firmware-72b1ff5899763cf76b1cc1669c684fbc45cee7c4.tar.gz qmk_firmware-72b1ff5899763cf76b1cc1669c684fbc45cee7c4.zip | |
Add TMK "FEED" VID to list of deprecated udev rules
| -rw-r--r-- | docs/faq_debug.md | 14 | ||||
| -rwxr-xr-x | lib/python/qmk/cli/doctor.py | 1 |
2 files changed, 1 insertions, 14 deletions
diff --git a/docs/faq_debug.md b/docs/faq_debug.md index 08c84fe4f..7d5473678 100644 --- a/docs/faq_debug.md +++ b/docs/faq_debug.md | |||
| @@ -31,20 +31,6 @@ Check: | |||
| 31 | - try using 'print' function instead of debug print. See **common/print.h**. | 31 | - try using 'print' function instead of debug print. See **common/print.h**. |
| 32 | - disconnect other devices with console function. See [Issue #97](https://github.com/tmk/tmk_keyboard/issues/97). | 32 | - disconnect other devices with console function. See [Issue #97](https://github.com/tmk/tmk_keyboard/issues/97). |
| 33 | 33 | ||
| 34 | ## Linux or UNIX Like System Requires Super User Privilege | ||
| 35 | Just use 'sudo' to execute *hid_listen* with privilege. | ||
| 36 | ``` | ||
| 37 | $ sudo hid_listen | ||
| 38 | ``` | ||
| 39 | |||
| 40 | Or add an *udev rule* for TMK devices with placing a file in rules directory. The directory may vary on each system. | ||
| 41 | |||
| 42 | File: /etc/udev/rules.d/52-tmk-keyboard.rules(in case of Ubuntu) | ||
| 43 | ``` | ||
| 44 | # tmk keyboard products https://github.com/tmk/tmk_keyboard | ||
| 45 | SUBSYSTEMS=="usb", ATTRS{idVendor}=="feed", MODE:="0666" | ||
| 46 | ``` | ||
| 47 | |||
| 48 | *** | 34 | *** |
| 49 | 35 | ||
| 50 | # Miscellaneous | 36 | # Miscellaneous |
diff --git a/lib/python/qmk/cli/doctor.py b/lib/python/qmk/cli/doctor.py index 89ac7c82a..1bfec6349 100755 --- a/lib/python/qmk/cli/doctor.py +++ b/lib/python/qmk/cli/doctor.py | |||
| @@ -181,6 +181,7 @@ def check_udev_rules(): | |||
| 181 | 'stm32': {_deprecated_udev_rule("1eaf", "0003"), _deprecated_udev_rule("0483", "df11")}, | 181 | 'stm32': {_deprecated_udev_rule("1eaf", "0003"), _deprecated_udev_rule("0483", "df11")}, |
| 182 | 'bootloadhid': {_deprecated_udev_rule("16c0", "05df")}, | 182 | 'bootloadhid': {_deprecated_udev_rule("16c0", "05df")}, |
| 183 | 'caterina': {'ATTRS{idVendor}=="2a03", ENV{ID_MM_DEVICE_IGNORE}="1"', 'ATTRS{idVendor}=="2341", ENV{ID_MM_DEVICE_IGNORE}="1"'} | 183 | 'caterina': {'ATTRS{idVendor}=="2a03", ENV{ID_MM_DEVICE_IGNORE}="1"', 'ATTRS{idVendor}=="2341", ENV{ID_MM_DEVICE_IGNORE}="1"'} |
| 184 | 'tmk': {_deprecated_udev_rule("feed")} | ||
| 184 | } | 185 | } |
| 185 | 186 | ||
| 186 | if udev_dir.exists(): | 187 | if udev_dir.exists(): |
