aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorGuillermo Ramos2014-06-29 23:23:18 +0200
committerGuillermo Ramos2014-06-29 23:24:57 +0200
commit3b419d61d91adfecfc55d641a638276c651f97bb (patch)
tree963fa1c8181d35958ee16011526e8efd93b6ebab /README
parentd489719279c0aa6e135bf8646ce0a7dbd41d3fd9 (diff)
downloadevspy-3b419d61d91adfecfc55d641a638276c651f97bb.tar.gz
dkms support
Diffstat (limited to 'README')
-rw-r--r--README34
1 files changed, 18 insertions, 16 deletions
diff --git a/README b/README
index b5a58cf..6211448 100644
--- a/README
+++ b/README
@@ -7,34 +7,36 @@ Don't be evil.
** COMPILE **
- $ make
+ $ make
** LOAD **
- # insmod evspy.ko
+ # insmod evspy.ko
** UNLOAD **
- # rmmod evspy
+ # rmmod evspy
** IS IT ALREADY LOADED? **
- $ lsmod | grep evspy
+ $ modinfo evspy
** PERSISTENCE **
-If you want evspy to be loaded every time system boots, copy it into your
-kernel module dir:
- # cp evspy.ko /lib/modules/$(uname -r)/kernel/drivers/input/evspy.ko
+* With dkms:
+ # make [install, uninstall]
-and update module database:
- # depmod -a
+* Manually:
+ Copy it into your kernel module dir:
+ # cp evspy.ko /lib/modules/$(uname -r)/kernel/drivers/input/evspy.ko
-(In some distros it could also be necessary to add it to some rc/config file)
+ and update module database:
+ # depmod -a
+ (in some distros you could also need to add it to some rc/config file)
-Once it has been installed, you can load it when you want with
- # modprobe evspy
+ Once it has been installed, you can load it when you want with
+ # modprobe evspy
** OTHER **
@@ -43,10 +45,10 @@ A patch is supplied (evspy.patch) to be able to compile a kernel with evspy
included. If KERN is the directory where your kernel is located, just copy the
patch there (KERN/) and copy all the evspy files (*.c, *.h, maps, kmap) to
KERN/drivers/input/. Then, cd to KERN and apply the patch:
- $ patch -p1 < evspy.patch
+ $ patch -p1 < evspy.patch
Then you should be able to configure the kernel to include evspy just like
any other module:
- $ make menuconfig
- Device Drivers --> Input device support --> Event based keylogger
- $ ...
+ $ make menuconfig
+ Device Drivers --> Input device support --> Event based keylogger
+ $ ...