|
|
@ -76,7 +76,7 @@ http://geekhack.org/index.php?topic=57008.msg1492604#msg1492604
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Degug Console
|
|
|
|
# Degug Console
|
|
|
|
## hid_listen can't find device
|
|
|
|
## hid_listen can't recognize device
|
|
|
|
When debug console of your device is not ready you will see like this:
|
|
|
|
When debug console of your device is not ready you will see like this:
|
|
|
|
|
|
|
|
|
|
|
|
Waiting for device:.........
|
|
|
|
Waiting for device:.........
|
|
|
@ -91,14 +91,14 @@ Check if you can't get this 'Listening:' message:
|
|
|
|
|
|
|
|
|
|
|
|
## Can't get message on console
|
|
|
|
## Can't get message on console
|
|
|
|
Check:
|
|
|
|
Check:
|
|
|
|
- connect the device to *hid_listen*. See above.
|
|
|
|
- *hid_listen* finds your device. See above.
|
|
|
|
- push **LShift+RShift+d** to enable debug. See [Magic Commands](https://github.com/tmk/tmk_keyboard#magic-commands).
|
|
|
|
- Enable debug with pressing **Magic**+d. See [Magic Commands](https://github.com/tmk/tmk_keyboard#magic-commands).
|
|
|
|
- set `debug_enable=yes` usually in `matrix_init()` in **matrix.c**.
|
|
|
|
- set `debug_enable=yes` usually in `matrix_init()` in **matrix.c**.
|
|
|
|
- try using 'print' function instead of debug print. See **common/print.h**.
|
|
|
|
- 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).
|
|
|
|
- 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
|
|
|
|
## Linux or UNIX like system requires Super User privilege
|
|
|
|
Just use 'sudo' to execute 'hid_listen' with privilege.
|
|
|
|
Just use 'sudo' to execute *hid_listen* with privilege.
|
|
|
|
```
|
|
|
|
```
|
|
|
|
$ sudo hid_listen
|
|
|
|
$ sudo hid_listen
|
|
|
|
```
|
|
|
|
```
|
|
|
|