Re: Module for keyboard statistics / What should I look at?

From: Pavel Machek
Date: Mon Dec 03 2007 - 14:54:26 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/