From owner-freebsd-questions Wed Nov 7 20:20:15 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailhub2.pegs.com (mailhub2.pegs.com [138.113.16.9]) by hub.freebsd.org (Postfix) with ESMTP id 1316137B418 for ; Wed, 7 Nov 2001 20:20:12 -0800 (PST) Received: (from root@localhost) by mailhub2.pegs.com (8.11.4/8.11.4) id fA84KBU13400 for freebsd-questions@freebsd.org; Wed, 7 Nov 2001 21:20:11 -0700 (MST) (envelope-from william.bloom@pegs.com) Received: from wbloom.pegs.com (wbloom.pegs.com [138.113.129.92]) by mailhub2.pegs.com (8.11.4/8.11.4) with ESMTP id fA84K8513380 for ; Wed, 7 Nov 2001 21:20:09 -0700 (MST) (envelope-from william.bloom@pegs.com) Date: Wed, 7 Nov 2001 21:20:08 -0700 From: William Bloom To: freebsd-questions@freebsd.org Subject: USB Keyboard not Recognized in 2nd Stage Loader Message-ID: <20011107212008.S4083@wbloom.pegs.com> References: <20011106135958.A722@wbloom.ecinet.com> <20011107102632.C996@wbloom.ecinet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit In-Reply-To: <20011107102632.C996@wbloom.ecinet.com>; from wbloom@eldocomp.com on Wed, Nov 07, 2001 at 10:26:32 -0700 X-Mailer: Balsa 1.2.0 Lines: 54 X-Virus-Scanned: by AMaViS perl-10 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG After having looked through portions of the handbook as well as the mail list archives for solutions (which I've tried), I find I still have a stubborn USB keyboard problem. This is a 4.4-STABLE system built from sources which were cvsup'd on 10/30 for building on a system that uses an Intel CA810E motherboard, a Belkin USB keyboard s/ hub, and a Microsoft USB mouse. The system was originally installed using a PS/2 keyboard which broke and was replaced with the present keyboard. I made the recommended kernel edits and have in general had good results with both the keyboard and the mouse except for one persistent annoyance; the 2nd stage loader loses the keyboard. This prevents me from intercepting the boot sequence to load an alternate kernel or do a single user boot. I've enabled legacy USB keyboard support in the BIOS. With experimentation, I've observed that -unless- I have it enabled, not even the BIOS or the 1st stage loader see the keyboard. With legacy USB keyboard support enabled, the BIOS and 1st loader can see the keybaord but the 2nd stage load -still- cannot (that it, the 2nd stage loader cannot see the keyboard regardless of the legacy USB keyboard setting). As mentioned in the ukbd(4) man page, I've tried adding 'flags 0x100' to 'device sc0' in order to force rescanning by the console driver, but this was ineffective (which is predictable, I suppose, since nothing in the kernel configuration would help the 2nd stage loader, I suspect). Below are the relevant USB lines from dmesg. Suggestions on next steps to try as a solution or workaround? uhci0: port 0xef80-0xef9f irq 9 at device 3 1.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhub1: ORTEK ORTEK KH12 USB Hub, class 9/0, rev 1.10/1.00, addr 2 uhub1: 3 ports with 2 removable, bus powered ukbd0: ORTEK USB Hub/Keyboard, rev 1.10/1.00, addr 3, iclass 3/1 kbd0 at ukbd0 uhid0: ORTEK USB Hub/Keyboard, rev 1.10/1.00, addr 3, iclass 3/0 ums0: Microsoft Microsoft Wheel Mouse OpticalŪ, rev 1.10/1.21, addr 4, iclass 3/ 1 ums0: 3 buttons and Z dir. Bill -- William Bloom (602) 906-7525 Pegasus Solutions, Inc. 7500 North Dreamy Draw Drive, Suite 120 Phoenix, Az 85020 http://www.pegs.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message