Re: Raw I/O Problems with inb()

From: Matthias Urlichs
Date: Fri Jan 16 2004 - 06:30:07 EST


Hi, Brett Gmoser wrote:

> Thanks in advance for any insight you all may be able to give me

Reading port registers directly doesn't make sense. No USB keyboards, no
remote use, ... you need to drop your DOS programming mentaility. Fast.

You can use a PTY approach like script(1), or you can write a small kernel
module like evbug (see the kernel source, drivers/input/evbug.c) which
monitors everything the user is doing.

--
Matthias Urlichs | {M:U} IT Design @ m-u-it.de | smurf@xxxxxxxxxxxxxx
Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de
- -
There are two distinct sorts of what we call bashfulness; this, the
awkwardness of a booby, which a few steps into the world will convert into the
pertness of a cox comb; that, a consciousness, which the most delicate
feelings produce, and the most extensive knowledge cannot always remove.
-- Mackenzie

-
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/