-
-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
64 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
keysniffer v1.6 | ||
2017-12-12 | ||
|
||
What's in? | ||
- DKMS support | ||
- Prepend Left (`L`) or Right (`R`) for Ctrl, Shift and Alt keys | ||
- Replace `_ENTER_` with `\n` | ||
- Append newline to keycodes (for param codes=1/2) | ||
- Add targets install, load, unload, uninstall to Makefile | ||
|
||
------------------------------------------------------------------------------- | ||
|
||
keysniffer v1.5 | ||
2017-03-28 | ||
|
||
Modifications | ||
- Add module param `codes` to support hex and decimal keycodes in output | ||
|
||
------------------------------------------------------------------------------- | ||
|
||
keysniffer v1.4 | ||
2016-10-03 | ||
|
||
Modifications | ||
- Coding style and readability improvements | ||
|
||
------------------------------------------------------------------------------- | ||
|
||
keysniffer v1.2 | ||
2015-10-30 | ||
|
||
Modifications | ||
- Added version information to module | ||
- Better module description | ||
- Changed the source file name to project name | ||
- Fixed license issues, make GPL v2 (thanks @gregkh) | ||
- Added output example to README.txt | ||
|
||
------------------------------------------------------------------------------- | ||
|
||
keysniffer v1.1 | ||
2015-10-12 | ||
|
||
Modifications | ||
- Using a 16KB buffer to log keys in debugfs | ||
- Using stricter permissions for debugfs log file (readable only by root) | ||
|
||
------------------------------------------------------------------------------- | ||
|
||
keysniffer v1.0 | ||
2015-10-11 | ||
|
||
Modifications | ||
- Implement US keyboard grab support | ||
- Share the keypress log via debugfs | ||
|
||
------------------------------------------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,7 +58,8 @@ To view the pressed keys, run: | |
``` | ||
# cat /sys/kernel/debug/kisni/keys | ||
modinfo kisni.ko | ||
sudo cat /sys/kernel/debug/kisni/keys | ||
cat /sys/kernel/debug/kisni/keys | ||
# | ||
``` | ||
|
||
To log generic hex keycodes in the format `keycode shift_mask`, run: | ||
|
@@ -106,14 +107,14 @@ To check the module details: | |
|
||
``` | ||
# modinfo kisni.ko | ||
filename: /home/vaio/GitHub/keysniffer/kisni.ko | ||
filename: kisni.ko | ||
description: Sniff and log keys pressed in the system to debugfs | ||
version: 1.4 | ||
version: 1.6 | ||
author: Arun Prakash Jana <[email protected]> | ||
license: GPL v2 | ||
srcversion: 08CA52B5D5B14E4B1C5BEB1 | ||
srcversion: 40AA880EE5017590B293170 | ||
depends: | ||
vermagic: 4.4.0-98-generic SMP mod_unload modversions | ||
vermagic: 4.4.0-103-generic SMP mod_unload modversions | ||
parm: codes:log format (0:US keys (default), 1:hex keycodes, 2:dec keycodes) (int) | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters