From: Tom R. <tr...@ke...> - 2002-07-08 17:29:26
|
On Mon, Jul 08, 2002 at 06:33:37PM +0200, Vojtech Pavlik wrote: > On Mon, Jul 08, 2002 at 09:21:49AM -0700, Tom Rini wrote: > > On Mon, Jul 08, 2002 at 05:59:24PM +0200, Vojtech Pavlik wrote: > > > On Mon, Jul 08, 2002 at 08:45:57AM -0700, Tom Rini wrote: > > > > Well, in the case of the IBM Spruce (one of the two PPC embedded boards > > > > that changes things) has an Intel 82C42PC (S82C42C) to control the > > > > keyboard/mouse. I'm not quite sure how that relates to i8042 however.. > > > > > > It's the chip, yes. i82c42pc is just a later version of the i8042 ... > > > > Okay, that's good. Will the current code remove the need for what > > spruce_read_keyb_{data,status} (arch/ppc/platforms/spruce_setup.c) or > > allow for overides like it is now? > > Wow, the chip must be connected in some pretty non-simple way then. > You'll most likely need a separate driver for spruce there. > > By the way, is there a way to *write* to the keyboard controller on that > machine? Well, from what I can tell of the documents (http://www-3.ibm.com/chips/techlib/techlib.nsf/techdocs/39BD3DAA6349C75F87256A0E0046344A) about it all, I think it might be possible to get at the keyboard in a different way, but the way we're doing it now is the suggested way to do it by IBM on that particular memory map. But I'm not entirely sure. And it might be possible to write to the controller in a similar fashion to how we read from it. I need to go track down my coworker who did all of this and ask him more.. -- Tom Rini (TR1265) http://gate.crashing.org/~trini/ |