The following reply was made to PR kern/46696; it has been noted by GNATS.
From: kato%wide.ad.jp@localhost
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc:
Subject: Re: kern/46696: uhub disables port where USB keyboard attached
Date: Fri, 18 Jan 2013 17:57:37 +0900 (JST)
>Submitter-Id: net
>Originator: Akira Kato
>Organization: WIDE Project
>Confidential: no
>Synopsis: USB keyboard may not be usable
>Severity: serious
>Priority: medium
>Category: kern
>Class: change-request
>Release: NetBSD 6.0_STABLE
>Environment:
System: NetBSD r420.kmd.keio.ac.jp 6.0_STABLE NetBSD 6.0_STABLE (DIAGNOSTIC)
#1: Fri Jan 18 08:34:16 JST 2013
root%r420.kmd.keio.ac.jp@localhost:/usr/src/sys/arch/amd64/compile/DIAGNOSTIC
amd64
Architecture: amd64
Machine: amd64
>Description:
On a Dell PowerEdge R-420 1U server and on a Shuttle DS61 compact
PC, the USB keyboard may not be recognized correctly (the possibility
was roughly at around 80% with a dmesg line of the following:
(the number changes in different platforms)
uhub2: device problem, disabling port 8
Sometimes the machine booted without the line above and in this
case the USB keyboard worked well. In order to make the USB keyboard
work when the corresponding port was disabled, the USB keyboard cable
must be removed once and plugged in to other USB port.
>How-To-Repeat:
Just reboot the machine.
>Fix:
A patch posted by Andreas Gustafsson in about 4 months ago fixes
this problem:
* To:
kern-bug-people%netbsd.org@localhost,gnats-admin%netbsd.org@localhost,netbsd-bugs%netbsd.org@localhost,mishka%NetBSD.org@localhost
* Subject: Re: kern/46696: uhub disables port where USB keyboard
attached
* From: Andreas Gustafsson <gson%gson.org@localhost>
* Date: Sat, 15 Sep 2012 13:45:03 +0000 (UTC)
The patch is accessible as follows:
http://www.gson.org/netbsd/bugs/46696/usb.patch
After applying the patch, I rebooted both machines more than 10 times
each and the USB keyboard worked well in all cases. I would recommend
to apply the patch to the netbsd-6 source tree and possibly the HEAD
tree as well.