From owner-freebsd-stable@FreeBSD.ORG Sun Mar 7 17:30:44 2004 Return-Path: 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 59E8116A4CE; Sun, 7 Mar 2004 17:30:44 -0800 (PST) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3F37043D31; Sun, 7 Mar 2004 17:30:43 -0800 (PST) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (localhost [127.0.0.1]) (authenticated bits=0) by cain.gsoft.com.au (8.12.9/8.12.8) with ESMTP id i281RVQ9064051; Mon, 8 Mar 2004 11:57:32 +1030 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: freebsd-current@freebsd.org Date: Mon, 8 Mar 2004 11:57:31 +1030 User-Agent: KMail/1.6 References: <002c01c4039e$52760980$0300000a@butik> <20040306180957.GA44450@chihiro.leafy.idv.tw> <404B9D48.90404@barryp.org> In-Reply-To: <404B9D48.90404@barryp.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200403081157.31216.doconnor@gsoft.com.au> X-Spam-Score: -1.5 () CARRIAGE_RETURNS,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01,USER_AGENT X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) cc: freebsd-stable@freebsd.org Subject: Re: atkbd default flags X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 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, 08 Mar 2004 01:30:44 -0000 On Mon, 8 Mar 2004 08:38, Barry Pederson wrote: > leafy wrote: > > On Sat, Mar 06, 2004 at 09:56:02AM -0800, Aaron Wohl wrote: > >>- if you hook up a crash cart with a keyboard and monitor the keyboard > >>cant type in. It can only see a keyboard at boot time > > > > This can be corrected > > 4.x -> remove the flags 0x01 in kernel for atkbdc > > 5.x -> remove hint.atkbd.0.flags="0x1" in /boot/devices.hints > > I gotta wonder about how much sense this makes, having the default flags > disable the keyboard if it's not present on bootup. > > The man page for atkbd on a 5.2 box says: > > By default the atkbd driver will install even if a > keyboard is not actually connected to the system. > > So the default behavior of FreeBSD is to override the default behavior > of the atkbd driver - which seems quite bizarre. > > Any chance that flag/hint could be changed in the default install? If the default is changed then anyone with a USB keyboard would be hosed. You can only have 1 keyboard device and it prefers a PS/2 keyboard, so if you have forced it to think there is one plugged in then it will ignore the USB keyboard.. It would be ideal if it could merge events from both keyboards but this is non-trivial :) -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 9A8C 569F 685A D928 5140 AE4B 319B 41F4 5D17 FDD5