Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Apr 2006 16:41:26 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-hackers@freebsd.org, cole@opteqint.net
Subject:   Re: Keyboard Boot Disable
Message-ID:  <200604251641.27767.jhb@freebsd.org>
In-Reply-To: <20060425200906.7A35443D45@mx1.FreeBSD.org>
References:  <20060425200906.7A35443D45@mx1.FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604251641.27767.jhb>