Re: /dev/psaux-Interface

From: Arjan van de Ven
Date: Mon Apr 19 2004 - 05:55:46 EST



> No. That's not a problem specific with my touchscreen. It's a
> general problem with the design of the input layer. It is
> implementing *policies* (on how to interpret data read from the
> PS2/AUX port), instead of providing a *mechanism* to access (read and
> write) that port.

well, it's the kernels job to abstract hardware. You don't also expose
raw scsi and ide devices to userspace, you abstract them away and
provide a uniform "block device" interface to userspace.
The input layer tries to do the same wrt HID devices and imo it makes
sense. Why should userspace care if a mouse is attached to the USB port
or via the USB->PS/2 connector thingy to the PS/2 port. Requiring
different configuration for both cases, and potentially even requiring
different userspace applications for each type make it sound like
abstracting this away from userspace does have merit.

Attachment: signature.asc
Description: This is a digitally signed message part