Subject: Re: wskbd probe
To: Allen Briggs <briggs@ninthwonder.com>
From: Matthias Drochner <drochner@zel459.zel.kfa-juelich.de>
List: port-i386
Date: 10/02/1999 17:56:27
briggs@ninthwonder.com said:
> Is it possible to wire the wscons keyboard probe down?  I have two PCs
> on a cheap switchbox.  If the switchbox isn't switch to a PC when it
> boots, the wskbd driver gives up and decides that there's no keyboard.
> pccons didn't have that "problem." 

Well, any reasonable swichbox will fake enough of a keyboard
to make the BIOS' and the pckbd driver's probe succeed.

However, the case that there is no keyboard plugged in
on boot was thought of - the probe function in
dev/pckbc/pckbd.c will succeed even if there is no
keyboard physically connected if the keyboard is needed
as console input device.
If this doesn't work for you, there must be something
strange with your system - can you enable DEBUG and tell
what is printed out?

> I took a quick look at sys/dev/isa/pckbc.c and didn't see a way to
> bypass the selftest or some such.

What are you referring to - which version are you speaking about?
There is an "#if 0" around the keyboard port probe (it already was
before 1.4 iirc). This was my capitulation to the broken PC
hardware out there.
(This is the _port_ probe, it should succeed without a keyboard
connected.)

best regards
Matthias