kern/71354: USB Keyboard bumped by non-existent PS/2 keyboard

Brooks Davis brooks at
Fri Sep 3 21:20:10 PDT 2004

The following reply was made to PR kern/71354; it has been noted by GNATS.

From: Brooks Davis <brooks at>
To: Mark Derbyshire <mark at>
Cc: freebsd-gnats-submit at
Subject: Re: kern/71354: USB Keyboard bumped by non-existent PS/2 keyboard
Date: Fri, 3 Sep 2004 21:14:11 -0700

 On Sat, Sep 04, 2004 at 02:50:50AM +0000, Mark Derbyshire wrote:
 > >Description:
 >       All our FreeBSD systems are on USB KVMs and as long as no PS/2
 >       keyboard was plugged into the mainboard, 5.2.1 and before would
 >       assign kbd0 to the first USB keyboard. That allowed the KVM
 >       keyboard to attach to the active machine. On 5.3-BETA2, kbd0 is
 >       apparently always assigned to the PS/2 keyboard, regardless of
 >       whether one is plugged in or not. This means that the first USB
 >       keyboard is assigned to kbd1 and the console is shut out after
 >       boot to the KVM.
 > >How-To-Repeat:
 >       Pull out the PS/2 keyboard and mouse connectors and attach a USB
 >       keyboard and mouse. On 5.2.1 and before you can type into the
 >       console after boot. Doesn't work on 5.3 BETA2.
 This was caused by a change in default hints.  To get the old behavior,
 you can add this line back to /boot/device.hints:
 Alternativly, you can apply this diff to your devd.conf.  That won't let
 you work in single-user mode since devd doesn't run there, but it sucks
 less then the default.  What we really need is an in-kernel keyboard
 -- Brooks

More information about the freebsd-bugs mailing list