Patrick Finnegan <pat at computer-refuge.org> wrote:
Well, X generally talks to the keyboard and mouse
drivers of the kernel
to do its stuff, and I don't see any reason to try and avoid that.
That behavior makes perfect sense when the keyboard hardware interface is
very special requiring a special kernel driver anyway (like those awful
PeeCee keyboards) or when the keyboard port is integrated with other hardware
that makes up the X display that needs a kernel driver (the case with DEC
QVSS and QDSS).
However, in the present case where the keyboard port is bog-standard serial
and is not in any way integrated with other display hardware (VGA chip),
but rather lives alongside with other serial ports on the machine doing
other things, it makes much more sense for the Linux kernel to treat it as
a regular serial port without any LK201 knowledge and concentrate the latter
in the X server.
Of course I may change my mind once I get down into the code, but this is
my current tentative plan.
Sure, why not. Actually, I don't see anything
that wrong with it, I
just am not a huge fan of USB. :)
Me neither. But if I'm going to invest time and money into building my own
hardware, I may as well do my absolute best job while I'm at it: it'll cost
the same to make this thing with or without the additional port, and having
more options supported for the same cost means a greater return on the same
initial investment.
MS