From owner-freebsd-hackers@FreeBSD.ORG Tue Apr 25 20:45:12 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E33C316A448 for ; Tue, 25 Apr 2006 20:45:12 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7CC143D82 for ; Tue, 25 Apr 2006 20:45:05 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from localhost (john@localhost [127.0.0.1]) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k3PKj1B8063652; Tue, 25 Apr 2006 16:45:02 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-hackers@freebsd.org, cole@opteqint.net Date: Tue, 25 Apr 2006 16:41:26 -0400 User-Agent: KMail/1.9.1 References: <20060425200906.7A35443D45@mx1.FreeBSD.org> In-Reply-To: <20060425200906.7A35443D45@mx1.FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200604251641.27767.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1425/Tue Apr 25 08:09:41 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.1 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx Cc: Subject: Re: Keyboard Boot Disable X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2006 20:45:13 -0000 On Tuesday 25 April 2006 16:10, Cole wrote: > Hi. > > I have a large amount of servers, and the problem is, that when I need to plug a keyboard into them, > the keyboard is disabled since they werent booted with a keyboard. > > I was wondering if anyone has some idea of how to disable the keyboard probe at boot and make it so > that the OS thinks that the keyboard is present even if its not plugged in, so that a keyboard can > be plugged in at any stage, and will function normally. > > Im speaking specifically for ps2 keyboards. Is this even possible, or are there architecture > problems or something else relating to this that would make this impossible? > > If this is possible, could someone please point me in the correct direction as to which code I would > need to look at to make this possible? Just take out the 'flags 0x1' part from the 'device atkbd' line in your kernel config line. Alternatively, make sure you have this in /boot/loader.conf: userconfig_script_load="YES" And then put these lines in /boot/kernel.conf: enable atkbd0 irq atkbd0 1 flags atkbd0 0 quit -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org