Subject: Re: Abstracting pckbc(4)
To: Alan Barrett <apb@cequrux.com>
From: Lennart Augustsson <lennart@augustsson.net>
List: tech-kern
Date: 02/02/2004 09:31:52
Alan Barrett wrote:
> On Mon, 02 Feb 2004, Ben Harris wrote:
>
>>>You didn't mention support for hot pluggable keyboards and mice.
>>
>>Does it work at the moment with pckbc?
>
>
> Not properly. At least in NetBSD/i386, there's some sort of magic
> fakery for the keyboard, such that even if the keyboard is not plugged
> in at boot time, the "pckbd at pckbc" device node gets attached anyway.
> If you plug in in a real keyboard later then it has a fair chance of
> working. But if the mouse is not plugged in at boot time then plugging
> it in later does not cause "pms at pckbc" to be attached.
Yes, and this fakery also stops having a USB console keyboard from
working properly. The console detection code always finds a pckbd
and picks it as the console. It would be nice if it worked properly.
-- Lennart