Subject: Re: Extra keyboards and mice
To: None <drochner@zelux6.zel.kfa-juelich.de>
From: Lennart Augustsson <augustss@cs.chalmers.se>
List: tech-kern
Date: 04/21/1998 12:27:56
> I know little about USB keyboards - do they emit the same
> scancodes as the normal PC keyboards?
Yes, I think so.  USB keyboards and mice (may) have a "Boot protocol"
which is intended to make BIOS drivers as simple as possible.
I've not checked the scan codes, but I would imagine that they
are the same.  The mouse behaves like a PS/2 mouse.

> And how do they behave when used as console - is there
> a complete hardware emulation? (If yes, how does the
> driver find out that the standared keyboard and the USB one
> are the same device in reality?)
I've not checked how this works, but I've seen documentation
about some horrid compatibility mode that would make everything
appear in the old way (I/O ports etc.)  I would imagine that
when you turn off this mode the standard keyboard is no longer
detected, only the USB keyboard.

> The wscons code is still in development. If there show
> up new needs, it should be extended.
The USB code is even more under development. :-)

> I'd like to have a look at your code to see how it
> could be integrated.
I'll bundle it up tonight.

        -- Lennart