From owner-freebsd-i386@FreeBSD.ORG Wed Jan 14 20:20:29 2004 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 78CEE16A4CE for ; Wed, 14 Jan 2004 20:20:29 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8EC543D76 for ; Wed, 14 Jan 2004 20:20:20 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i0F4KKFR011073 for ; Wed, 14 Jan 2004 20:20:20 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i0F4KKhs011072; Wed, 14 Jan 2004 20:20:20 -0800 (PST) (envelope-from gnats) Resent-Date: Wed, 14 Jan 2004 20:20:20 -0800 (PST) Resent-Message-Id: <200401150420.i0F4KKhs011072@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Garry Roseman Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 25E6016A4CE for ; Wed, 14 Jan 2004 20:20:00 -0800 (PST) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B9C043D39 for ; Wed, 14 Jan 2004 20:19:58 -0800 (PST) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.10/8.12.10) with ESMTP id i0F4JwdL040404 for ; Wed, 14 Jan 2004 20:19:58 -0800 (PST) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.10/8.12.10/Submit) id i0F4Jw66040403; Wed, 14 Jan 2004 20:19:58 -0800 (PST) (envelope-from nobody) Message-Id: <200401150419.i0F4Jw66040403@www.freebsd.org> Date: Wed, 14 Jan 2004 20:19:58 -0800 (PST) From: Garry Roseman To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.0 Subject: i386/61377: usb keyboard not functional after boot, can not attach using kbdcontrol X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jan 2004 04:20:29 -0000 >Number: 61377 >Category: i386 >Synopsis: usb keyboard not functional after boot, can not attach using kbdcontrol >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jan 14 20:20:20 PST 2004 >Closed-Date: >Last-Modified: >Originator: Garry Roseman >Release: 5.2 RELEASE >Organization: Apple Computer Inc >Environment: FreeBSD silver.studio 5.2-RELEASE FreeBSD 5.2-RELEASE #3: Wed Jan 14 21:03:50 CST 2004 fuper@silver.studio:/usr/obj/usr/src/sys/SILVER i386 >Description: 5.0 and 5.1 releases worked on this system, Giga-Byte GA-6VTXD Socket 370 dual processor motherboard with dual Pentium 3 800EB cpus with on-board usb plus legacy ports. I had been running with a USB keyboard and no AT keyboard attached. With the 5.2 release the keyboard does not work. Logging in via ssh I see that there are two keyboard devices, apparently an AT keyboard was registered despite its absence. Following the procedure of "man kbdcontrol" kbdcontrol -k /dev/kbd1 < /dev/console does NOT attach the usb keyboard. Recompiling the kernel and using the procedure of "man ukbd" kbdcontrol -k /dev/kbd0 < /dev/ttyv0 > /dev/null also does NOT attach the usb keyboard. Each approach was tried with and without "usb legacy support" enabled in the bios (with cold power-down after each change). In all tests hint.sc.0.flags="0x100", as I understand it should be to detect the missing AT keyboard and attach the usb keyboard. There appears to be no way to use the usb keyboard on this system with release 5.2! Relevent portion of the dmesg using a kernel with no atkbd and no atkbdc device --- uhci0: port 0xd000-0xd01f irq 10 at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhub1: Chicony Generic USB Hub, class 9/0, rev 1.10/1.00, addr 2 uhub1: 3 ports with 2 removable, bus powered ukbd0: Chicony PFU-65 USB Keyboard, rev 1.10/1.00, addr 3, iclass 3/1 kbd0 at ukbd0 ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/13.00, addr 4, iclass 3/1 ums0: 4 buttons and Z dir. uhci1: port 0xd400-0xd41f irq 10 at device 7.3 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered This dmesg shows the usb keyboard being detected and attached as kbd0. Over ssh I see /dev/kbd0 but the keyboard is non-functional. The same keyboard DOES work with the BIOS and with my other systems which are still running FreeBSD 5.1. >How-To-Repeat: Install release 5.2 on a Gigabyte dual-cpu motherboard with on-board usb and ps/2 ports and attach a usb keyboard (with or without a ps/2 keyboard also attached). The usb keyboard is not functioning on boot and can not be made functional by any procedure described in the man pages. >Fix: >Release-Note: >Audit-Trail: >Unformatted: