Yes, it is fairly easy. Put a printk into the handle_scancode() in keyboard.c
Bernd
> My plan is to have keystrokes logged via syslog for now... I
> don't care if it is a crummy hack as long as it works, and
> captures all keys well. Doing so either in pc_keyb.c or
> keyboard.c (in drivers/char) would be fine.
>
> Ideas?
>
> --
> Mike A. Harris Linux advocate
> Computer Consultant GNU advocate
> Capslock Consulting Open Source advocate
>
> Join the FreeMWare project - the goal to produce a FREE program in
> which you can run Windows 95/98/NT, and other operating systems.
>
> http://www.freemware.org
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/