Subject: Re: Extra keyboards and mice
To: Lennart Augustsson <augustss@cs.chalmers.se>
From: Colin Wood <cwood@ichips.intel.com>
List: tech-kern
Date: 04/21/1998 00:55:37
Lennart Augustsson wrote:
[Charset ISO-8859-1 unsupported, filtering to ASCII...]
> 
> I'm working on USB device drivers and I've now managed to
> talk to a USB mouse and a keyboard.  Now I wonder, what is
> "The Right Way"(tm) to make these show up as devices?
> 
> I could, of course, make some new devices (like /dev/ums and
> /dev/ukbd), but I'd like to try and reuse some of the code
> in the kernel like existing mouse and keyboard drivers.
> This would be good both for code reuse and for getting
> a consistent interface to these devices.
> 
> Would the new wscons driver be the right place to hook it in?
> Does it support keyboards with no console?
> What is the interface to it?  (I must admit that I haven't really
> looked at it yet.)

I'd be fairly interested in this too since I'm working on the mac68k kbd
and ms driver at the moment, and most Macs support multiple keyboards and
mice (and monitors, too, so I guess you could sort of have multiple
consoles...)

Later.

-- 
Colin Wood                                 cwood@ichips.intel.com
Component Design Engineer - MD6                 Intel Corporation
-----------------------------------------------------------------
I speak only on my own behalf, not for my employer.