* Module for keyboard statistics / What should I look at?
@ 2007-11-28 1:07 Nelson Castillo
2007-12-02 19:28 ` Pavel Machek
0 siblings, 1 reply; 2+ messages in thread
From: Nelson Castillo @ 2007-11-28 1:07 UTC (permalink / raw)
To: Linux Kernel Mailing List
Hi.
More than 2 years ago I wrote a small non-portable patch [1] to gather
some statistics
about keyboard usage[2] ( I show the counters with modulo 10 but still this is a
security risk. Perhaps some random noise should be added ).
[1] http://svn.arhuaco.org/svn/src/pcgotchi/trunk/proc-keystrokes.patch.linux-2.6.12.2.txt
[2] http://pcgotchi.blogspot.com/2005/10/11140-times.html
I liked to use this in my PC but stopped using this because I didn't
want to compile whenever I
upgraded Kernels (Debian).
I thought I had already asked in LKML as suggested by Blaisorblade[3],
but I did ask in
kernelnewbies instead[4].
[3] http://www.mail-archive.com/user-mode-linux-devel@lists.sourceforge.net/msg02168.html
[4] http://mail.nl.linux.org/kernelnewbies/2006-05/msg00367.html
My questions are:
* What should I read to do this in a module?
* Is there a better way to to this? (perhaps using /dev/input/... and
a user-space program) ?
Regards,
Nelson.-
PS: I don't wish to write a keylogger. I really want the statistics
and you are screwed if
someone gets to be root in your machine anyway.
--
http://arhuaco.org
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Module for keyboard statistics / What should I look at?
2007-11-28 1:07 Module for keyboard statistics / What should I look at? Nelson Castillo
@ 2007-12-02 19:28 ` Pavel Machek
0 siblings, 0 replies; 2+ messages in thread
From: Pavel Machek @ 2007-12-02 19:28 UTC (permalink / raw)
To: Nelson Castillo, dmitry; +Cc: Linux Kernel Mailing List
On Tue 2007-11-27 20:07:16, Nelson Castillo wrote:
> Hi.
>
> More than 2 years ago I wrote a small non-portable patch [1] to gather
> some statistics
> about keyboard usage[2] ( I show the counters with modulo 10 but still this is a
> security risk. Perhaps some random noise should be added ).
RSI prevention?
> My questions are:
>
> * What should I read to do this in a module?
> * Is there a better way to to this? (perhaps using /dev/input/... and
> a user-space program) ?
Yep, I think you should be using /dev/input.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-12-03 19:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-28 1:07 Module for keyboard statistics / What should I look at? Nelson Castillo
2007-12-02 19:28 ` Pavel Machek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).