Messages in this thread | | | Date | Fri, 7 May 2004 19:35:19 -0700 | From | Andrew Morton <> | Subject | Re: [PATCH] SERIO_USERDEV: direct userspace access to mouse/keyboard psaux serial ports |
| |
Tuukka Toivonen <tuukkat@ee.oulu.fi> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |