From owner-freebsd-stable@FreeBSD.ORG Mon Jun 6 20:17:43 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E64CF16A41C for ; Mon, 6 Jun 2005 20:17:43 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id C481643D48 for ; Mon, 6 Jun 2005 20:17:43 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id A99B372DD4; Mon, 6 Jun 2005 13:17:43 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id A457D72DCB; Mon, 6 Jun 2005 13:17:43 -0700 (PDT) Date: Mon, 6 Jun 2005 13:17:43 -0700 (PDT) From: Doug White To: Remi Regruson In-Reply-To: <20050605093550.GA74322@legitimus> Message-ID: <20050606131248.T16994@carver.gumbysoft.com> References: <20050605093550.GA74322@legitimus> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-stable@freebsd.org Subject: Re: 5.4 RELEASE atkbdc0 problem X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jun 2005 20:17:44 -0000 On Sun, 5 Jun 2005, Remi Regruson wrote: > Hi, > > I put the folowing line in /boot/loader.conf : > usb_load="yes" > ukbd_load="yes" > This haven't done what I exepted : my usb keyboard don't work during the loader prompt and now I can't boot. The kernel message stop with this line: If you want your USB keyboard to work in loader you need to enable "USB Legacy" in the BIOS. > atkbdc0: port 0x64,0x60 irq 1 on acpi0 > I have the same log with or without : any keyboard(ps2 or usb), usb or apm activating in the bios. FreeBSD can only handle input from one keyboard at a time. By default the first keyboard attached wins, which is atkbd. You have a few options: 1. Edit /boot/device.hints and remove the hint.atkbd.0.flags line, reboot, and unplug the PS/2 keyboard before the kernel starts. Unless your BIOS fakes up a keyboard it should keep atkbd0 from attaching and therefore let the USB keyboard take over kbd0. 2. Add a line to /etc/usbd.conf that calls kbdcontrol -k kbd1 < /dev/console when a USB keyboard is attached. This selects the USB keyboard as the active keyboard. If kbd1 goes away (by unplugging the USB keyboard) it'll fall back to the PS/2 keyboard. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org