From owner-freebsd-current@FreeBSD.ORG Fri Oct 8 05:06:57 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 EB97C16A4CE for ; Fri, 8 Oct 2004 05:06:57 +0000 (GMT) Received: from gw.catspoiler.org (217-ip-163.nccn.net [209.79.217.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72C6B43D53 for ; Fri, 8 Oct 2004 05:06:57 +0000 (GMT) (envelope-from truckman@FreeBSD.org) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.13.1/8.13.1) with ESMTP id i9856m1e060429; Thu, 7 Oct 2004 22:06:52 -0700 (PDT) (envelope-from truckman@FreeBSD.org) Message-Id: <200410080506.i9856m1e060429@gw.catspoiler.org> Date: Thu, 7 Oct 2004 22:06:48 -0700 (PDT) From: Don Lewis To: brooks@one-eyed-alien.net In-Reply-To: <20041008043733.GA9549@odin.ac.hmc.edu> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii cc: current@FreeBSD.org Subject: Re: Installing 5.3-BETA7 without PS/2 keyboard 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, 08 Oct 2004 05:06:58 -0000 On 7 Oct, Brooks Davis wrote: > On Fri, Oct 08, 2004 at 12:12:22AM -0400, Rajappa Iyer wrote: >> Hi, >> >> I hope someone can help me out here. I have a machine with >> no PS/2 connectors... so I only have USB keyboard. I have turned >> on the BIOS emulation of keyboard -- the boot loader seems to see >> it fine. But once FreeBSD boots, then it is no longer able to >> see the keyboard. >> >> I tried disabling the atkbd and atkbdc, but it still finds and >> attaches kbd0 to atkbd and kbd1 to the USB keyboard. >> >> Any way out of this situation? > > Sounds like your BIOS is too smart for it's own good. It emulates > enough of the keyboard for atkbd to to probe, but then ukbd finds the > keyboard and breaks it. Does the same thing happen if you disable > emulation? (I suspect it does). If so, you may need to install by > sticking the disk in something else and installing there. One other > idea, if you can disable ukbd that may keep the keyboard from being > initalized which should keep the emulation work. This sounds a lot like what I ran into with my Athlon XP machine in the early days of 5.x. I set up the machine to dual boot FreeBSD 5.x and RedHat Linux using GRUB to select the OS. If I was using a USB keyboard and keyboard emulation was off, I couldn't interact with the loader, and I don't think I could interact with GRUB either. If keyboard emulation was enabled, FreeBSD stumbled across atkbd and atkbdc and ignored the USB keyboard once it booted. If I could get in over the network, I could use kbdcontrol to switch enable access to the USB keyboard. This was sometimes a problem because neither the BIOS nor FreeBSD saw the fxp card when the machine was first powered on. Letting the machine boot part way and hitting the reset button, or logging on and rebooting would cause fxp0 to appear, though the latter method could not be done remotely ... RedHat 7.3 automagically used the USB keyboard. These days I'm using the PS/2 ports via a KVM switch, so I have no idea if this is still a problem.