Re: Designing a keyboard controller

Vojtech Pavlik (vojtech-lists@twilight.ucw.cz)
Tue, 14 Sep 1999 11:25:06 +0200


On Tue, Sep 14, 1999 at 09:41:01AM +0200, J.D. Bakker wrote:

> That looks like a good solution. The question remains then: what does an
> 8042 'look like', as seen from Linux ? I want to mimic the ISA side of a
> regular keyboard controller (without actually cramming a 40pin DIL chip on
> my 7.5x10cm PCB :-P). Does anyone have pointers to documents on this ?

If you really want to present an i8042 interface to Linux (as crappy as it is),
I think the VIA VT82C42 could work, since it's also available in SMD packaging.

> A semi-related question: is it possible for multiple different devices on
> an ISA-ish bus to share an interrupt *on the processor side* ? For example,
> say I have a custom PIC which multiplexes (logic OR) the interrupt output
> of a keyboard controller with the interrupt output of an IDE controller
> onto one interrupt line for the processor. Does this work, or do I break
> any hidden assumptions in either the keyboard or the IDE driver ?

As far as I know, there isn't any problem with the keyboard driver. Don't
know about the IDE driver, though.

Vojtech

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/