cvs commit: src/sys/bus/usb usb.c

Michael Neumann mneumann at
Mon May 26 04:35:20 PDT 2008

Matthew Dillon wrote:
    I agree that the early usb keyboard detection was kinda a hack, but
    without it a kernel crash that drops into DDB prior to that point in
    the boot will not have a working keyboard to type on.  We should try
    to find a solution prior to our July release.   Maybe the thing to do is
    to fully initialize the USB subsystem using polling right from the
    get-go.  I dunno.
Isn't the BIOS on modern computers providing emulation of PS2 for USB
keyboards? I have to organize a USB keyboard and try that out myself.
If possible I'd like to have a clean solution. Right now, even delaying
configuration until after interrupts are available seems to be a hack to
me, at least doing it manually. Maybe something like NetBSD's autoconf
framework would be a cleaner solution.


More information about the Commits mailing list