From nobody@FreeBSD.org  Sat Sep  4 02:50:51 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 2C4FF16A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  4 Sep 2004 02:50:51 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1E31C43D1F
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  4 Sep 2004 02:50:51 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i842ooJd090063
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 4 Sep 2004 02:50:50 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id i842ooN4090044;
	Sat, 4 Sep 2004 02:50:50 GMT
	(envelope-from nobody)
Message-Id: <200409040250.i842ooN4090044@www.freebsd.org>
Date: Sat, 4 Sep 2004 02:50:50 GMT
From: Mark Derbyshire <mark@taom.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: USB Keyboard bumped by non-existent PS/2 keyboard
X-Send-Pr-Version: www-2.3

>Number:         71354
>Category:       kern
>Synopsis:       [kbd] USB Keyboard bumped by non-existent PS/2 keyboard
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    brooks
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 04 03:00:40 GMT 2004
>Closed-Date:    Sat Aug 06 14:34:34 GMT 2005
>Last-Modified:  Sat Aug 06 14:34:34 GMT 2005
>Originator:     Mark Derbyshire
>Release:        FreeBSD 5.3-BETA2
>Organization:
>Environment:
FreeBSD newbsd.taom.com 5.3-BETA2 FreeBSD 5.3-BETA2 #1: Sat Aug 28 21:29:15 UTC 2004     root@mack.dcsl.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

ABIT VT7 mainboard
>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.
>Fix:
      
>Release-Note:
>Audit-Trail:

From: Brooks Davis <brooks@one-eyed-alien.net>
To: Mark Derbyshire <mark@taom.com>
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
Responsible-Changed-From-To: freebsd-bugs->brooks 
Responsible-Changed-By: brooks 
Responsible-Changed-When: Mon Nov 1 19:43:15 GMT 2004 
Responsible-Changed-Why:  
I'm collecting USB keyboard PRs. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=71354 
State-Changed-From-To: open->closed 
State-Changed-By: matteo 
State-Changed-When: Sat Aug 6 14:34:15 GMT 2005 
State-Changed-Why:  
Problem was solved long ago 

http://www.freebsd.org/cgi/query-pr.cgi?pr=71354 
>Unformatted:
