From owner-freebsd-current@FreeBSD.ORG Mon Oct 6 05:39:37 2003 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 5303D16A4C1 for ; Mon, 6 Oct 2003 05:39:37 -0700 (PDT) Received: from hexagon.stack.nl (hexagon.stack.nl [131.155.140.144]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44BF943FE3 for ; Mon, 6 Oct 2003 05:39:36 -0700 (PDT) (envelope-from jilles@stack.nl) Received: from toad.stack.nl (zen.stack.nl [2001:610:1108:5010::130]) by hexagon.stack.nl (Postfix) with ESMTP id 8D1E91C52; Mon, 6 Oct 2003 14:39:19 +0200 (CEST) Received: by toad.stack.nl (Postfix, from userid 1677) id 68200122; Mon, 6 Oct 2003 14:39:19 +0200 (CEST) Date: Mon, 6 Oct 2003 14:39:19 +0200 From: Jilles Tjoelker To: Doug White Message-ID: <20031006123919.GA5647@stack.nl> References: <0B9A946D-F5EA-11D7-9D95-000393B2B0EE@twcny.rr.com> <20031005211504.D14342@carver.gumbysoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031005211504.D14342@carver.gumbysoft.com> User-Agent: Mutt/1.5.4i cc: current@freebsd.org Subject: Re: usb keyboard not working in single user mode 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: Mon, 06 Oct 2003 12:39:37 -0000 On Sun, Oct 05, 2003 at 09:17:37PM -0700, Doug White wrote: > On Fri, 3 Oct 2003, Ken McKittrick wrote: > > I've got 5.1-current running on an IBM BladeCenter HS20. This thing has > > a USB KVM built-in. It's working in multi-user mode. Problem is when I > > boot to single user, can't do anything. > Check that atkbd is using flags 0x1. That should cause atkbd not to > attach and allow ukbd to take over. If your system happens to emulate a > atkbd even when one is not attached, you will have to modify the start > scripts to run kbdcontrol even in the single-user case (if thats even > possible). No /etc/rc* scripts are run in single-user mode. You would have to put it in /.profile, with a test such as [ $(/bin/ps -o ppid= -p $$) = 1 ]. Jilles Tjoelker