kern/71354: USB Keyboard bumped by non-existent PS/2 keyboard
Brooks Davis
brooks at one-eyed-alien.net
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 one-eyed-alien.net>
To: Mark Derbyshire <mark at taom.com>
Cc: freebsd-gnats-submit at freebsd.org
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:
hint.atkbd.0.flags="0x1"
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
mux.
http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/devd.conf.diff?r1=1.14&r2=1.15
-- Brooks
More information about the freebsd-bugs
mailing list