From owner-freebsd-current@FreeBSD.ORG Mon Feb 20 15:08:50 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 08C3716A420 for ; Mon, 20 Feb 2006 15:08:50 +0000 (GMT) (envelope-from b.candler@pobox.com) Received: from proof.pobox.com (proof.pobox.com [207.106.133.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 952EC43D45 for ; Mon, 20 Feb 2006 15:08:49 +0000 (GMT) (envelope-from b.candler@pobox.com) Received: from proof (localhost [127.0.0.1]) by proof.pobox.com (Postfix) with ESMTP id 977CC71296; Mon, 20 Feb 2006 10:08:48 -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 proof.sasl.smtp.pobox.com (Postfix) with ESMTP id 628EF1D3DD; Mon, 20 Feb 2006 10:08:47 -0500 (EST) Received: from brian by mappit.local.linnet.org with local (Exim 4.60 (FreeBSD)) (envelope-from ) id 1FBCec-000DJa-BQ; Mon, 20 Feb 2006 15:08:46 +0000 Date: Mon, 20 Feb 2006 15:08:46 +0000 From: Brian Candler To: Chuck Swiger Message-ID: <20060220150846.GA51152@uk.tiscali.com> References: <20060219113120.b7dcbdf0.lehmann@ans-netz.de> <20060219123118.GA46877@uk.tiscali.com> <43F8F32F.6070100@pubnix.net> <20060220125857.GA50685@uk.tiscali.com> <43F9D1AB.2030506@mac.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43F9D1AB.2030506@mac.com> 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: Mon, 20 Feb 2006 15:08:50 -0000 On Mon, Feb 20, 2006 at 09:26:51AM -0500, Chuck Swiger wrote: > Brian Candler wrote: > > On Sun, Feb 19, 2006 at 05:37:35PM -0500, Alain Hebert wrote: > >> What works for me: > >> > >> In device.hints -> hint.atkbd.0.flags="0x1" > > > > Interesting - then the man page is wrong? (i.e. 0x1 should mean that if you > > have no keyboard attached, the atkbd driver will *not* be installed) > > The man page is fine. You are invited to consider what numeric value setting > bit 0 actually gives you... :-) Setting bit 0 gives a numeric value of 0x1. Yes? The man page says that "This option prevents the driver from being installed" if a keyboard is not actually attached to the system at bootup time. The OP wanted to ensure that his keyboard would work if plugged in later. According to the manpage, then, he would need to set this flag to 0x0 (or at least, any value with the LSB set to 0, i.e. any even value) According to someone else, it's necessary to set hint.atkbd.0.flags="0x1" Therefore, I perceive a conflict in information. If I'm overlooking something, can you please point it out to me? Thanks, Brian.