From owner-freebsd-current@FreeBSD.ORG Fri Dec 3 00:21:24 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 84E8D16A4CE; Fri, 3 Dec 2004 00:21:24 +0000 (GMT) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 680CB43D2F; Fri, 3 Dec 2004 00:21:24 +0000 (GMT) (envelope-from peter@wemm.org) Received: from fw.wemm.org (canning.wemm.org [192.203.228.65]) by canning.wemm.org (Postfix) with ESMTP id 303E42A8D5; Thu, 2 Dec 2004 16:21:24 -0800 (PST) (envelope-from peter@wemm.org) Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3]) by fw.wemm.org (Postfix) with ESMTP id C5CE3E2B3; Thu, 2 Dec 2004 16:21:23 -0800 (PST) (envelope-from peter@wemm.org) Received: from overcee.wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (8.13.1/8.13.1) with ESMTP id iB30LNbg048800; Thu, 2 Dec 2004 16:21:23 -0800 (PST) (envelope-from peter@wemm.org) Received: from localhost (localhost [[UNIX: localhost]]) by overcee.wemm.org (8.13.1/8.13.1/Submit) id iB30LH2s048799; Thu, 2 Dec 2004 16:21:17 -0800 (PST) (envelope-from peter@wemm.org) X-Authentication-Warning: overcee.wemm.org: peter set sender to peter@wemm.org using -f From: Peter Wemm To: freebsd-current@freebsd.org Date: Thu, 2 Dec 2004 16:21:17 -0800 User-Agent: KMail/1.7.1 References: <20041202002939.GA2834@ns1.xcllnt.net> <41AF8017.4000206@freebsd.org> <16815.36304.188670.238045@jerusalem.litteratus.org> In-Reply-To: <16815.36304.188670.238045@jerusalem.litteratus.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200412021621.17783.peter@wemm.org> cc: Robert Huff cc: current@freebsd.org Subject: Re: My project wish-list for the next 12 months X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Dec 2004 00:21:24 -0000 On Thursday 02 December 2004 01:49 pm, Robert Huff wrote: > Scott Long writes: > > Are you talking about putting a minimal USB stack into the boot > > loader? That _certainly_ cannot fit into boot0, and I doubt that > > it can fit into boot1. It might be possible for > > boot2/BTX/loader, but that's also quite a bit of work. > > As far as I know - and I would _love_ to be wrong - USB > keyboards are not recognized before the kernel proper loads. This > means I have to keep a PS2 keybaord attached to interrupt the > countdown and make the jump to sub-ligh\\\\\, er. single user. I > have no idea what stage of the boot process this is; all I know I > have to use two keyboards where I should only need one. > > > I take it that your BIOS does not provide keyboard emulation for > > you? If not, I guess that it makes it difficult to boot to DOS. > > The motherboard is an Asus P4S533 with an Award BIOS. I can't > take the machine down to check on any keyboard emulation settings. > (And the box has always been 100% Microsoft-free.) This is an ASUS bug, possibly a bug in the reference bioses. They have a whitelist of MBR partition types to decide what to do about USB keyboards. What is supposed to happen is that the bios keyboard and video calls work with the usb keyboard. Bioses also have a 'legacy' keyboard hardware emulation to simulate PS/2 keyboard hardware using the usb keyboard. This feature is meaninless to us in boot1 / loader / etc because we are a normal bios client like msdos. However, if the bios sees partition type 165 (FreeBSD), it freaks out and completely shuts down all USB support. Even for the bios keyboard service calls. If you boot MSDOS, for example.. the bios keyboard service calls are not disabled and keep working. Asus seems to be the worst offender in this area recently. This misfeature appeared on their newer Athlon64 boards and now you've reported it on their P4 boards.. Grrrrr. -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5