From owner-freebsd-bugs@FreeBSD.ORG Sat Sep 4 04:20:10 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6027416A4CE for ; Sat, 4 Sep 2004 04:20:10 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4E57243D1D for ; Sat, 4 Sep 2004 04:20:10 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i844KARO032031 for ; Sat, 4 Sep 2004 04:20:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i844KAMK032030; Sat, 4 Sep 2004 04:20:10 GMT (envelope-from gnats) Date: Sat, 4 Sep 2004 04:20:10 GMT Message-Id: <200409040420.i844KAMK032030@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Brooks Davis Subject: Re: kern/71354: USB Keyboard bumped by non-existent PS/2 keyboard X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Brooks Davis List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Sep 2004 04:20:10 -0000 The following reply was made to PR kern/71354; it has been noted by GNATS. From: Brooks Davis To: Mark Derbyshire Cc: freebsd-gnats-submit@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