Keyboard Boot Disable

John Baldwin jhb at freebsd.org
Tue Apr 25 20:45:13 UTC 2006


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 at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the freebsd-hackers mailing list