Re: [PATCH] SERIO_USERDEV: direct userspace access tomouse/keyboard psaux serial ports

From: Andrew Morton
Date: Fri May 07 2004 - 21:37:17 EST


Tuukka Toivonen <tuukkat@xxxxxxxxxx> wrote:
>
> SERIO_USERDEV - Direct serial input device access for userspace
>
> This driver provides direct access from usespace into PS/2 (or psaux)
> serial ports used usually for input devices such as mouses and keyboards.

I must say that last time this went around, the arguments which were made
in its favour made sense. Let me recap:

At present, the kernel decodes the external device into logical "events"
and, if someone wants access to the raw device bitstream the kernel will
synthesize that bitstream from the decoded event stream.

But if, for example, the kernel doesn't have a decoder for the external
device, we're out of luck.

And given that the external device generates a stream of bits, the kernel
should provide some way for applications to directly access that stream
without the intervening interpretation.


Is that a decent summary of the situation?

If so then yeah, I think the kernel should have a driver which does all of
this.

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