From owner-freebsd-current@FreeBSD.ORG Sun Feb 19 12:31:23 2006 Return-Path: X-Original-To: current@freebsd.org 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 CC25D16A420 for ; Sun, 19 Feb 2006 12:31:23 +0000 (GMT) (envelope-from b.candler@pobox.com) Received: from thorn.pobox.com (thorn.pobox.com [208.210.124.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 73F7043D46 for ; Sun, 19 Feb 2006 12:31:23 +0000 (GMT) (envelope-from b.candler@pobox.com) Received: from thorn (localhost [127.0.0.1]) by thorn.pobox.com (Postfix) with ESMTP id 8AAEDDA; Sun, 19 Feb 2006 07:31:44 -0500 (EST) Received: from mappit.local.linnet.org (212-74-113-67.static.dsl.as9105.com [212.74.113.67]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by thorn.sasl.smtp.pobox.com (Postfix) with ESMTP id 0BD67D31F; Sun, 19 Feb 2006 07:31:42 -0500 (EST) Received: from lists by mappit.local.linnet.org with local (Exim 4.60 (FreeBSD)) (envelope-from ) id 1FAnih-000CDe-8z; Sun, 19 Feb 2006 12:31:19 +0000 Date: Sun, 19 Feb 2006 12:31:19 +0000 From: Brian Candler To: Oliver Lehmann Message-ID: <20060219123118.GA46877@uk.tiscali.com> References: <20060219113120.b7dcbdf0.lehmann@ans-netz.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060219113120.b7dcbdf0.lehmann@ans-netz.de> User-Agent: Mutt/1.4.2.1i Cc: current@freebsd.org Subject: Re: attaching a keyboard later X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Sun, 19 Feb 2006 12:31:23 -0000 On Sun, Feb 19, 2006 at 11:31:20AM +0100, Oliver Lehmann wrote: > back in the 3.x days It was possible to attach a keyboard later to a > system after it was booted up and having it working. If I'm not mistaken > this was possible via a boot(8) switch. I can't find a switch in the man > page which reads like it does that now. Can someone tell me if it is still > possible and maybe what to do? I can't speak for -CURRENT as I'm not running it right now, but on 6.0 the atkbd(4) manpage says: Driver Flags The atkbd driver accepts the following driver flags. They can be set either in /boot/device.hints, or else from within the boot loader (see loader(8)). bit 0 (FAIL_IF_NO_KBD) By default the atkbd driver will install even if a keyboard is not actually connected to the system. This option prevents the driver from being installed in this situation. ... bit 3 (NO_PROBE_TEST) When this option is given, the atkbd driver will not test the key- board port during the probe routine. Some machines hang during boot when this test is performed. but unfortunately doesn't give an exact example of how to use this, nor does it give the default setting of the flags. ISTR that in FreeBSD 4.x, you had a flags=0x01 setting in the kernel configuration file, which you could change to 0x00 to get the keyboard to work even if not detected at bootup time. I guess you could try something like hint.atkbd.0.flags=0x00 or hint.atkbd.0.flags=0x08 If you find out exactly what this is, please submit a patch for the manpage :-) HTH, Brian.