Subject: kern/12095: pckbd not working if it is not the console
To: None <firstname.lastname@example.org>
From: Martin Husemann <email@example.com>
Date: 02/01/2001 04:04:26
>Synopsis: pckbd does not work when it is not the console
>Arrival-Date: Thu Feb 01 04:07:01 PST 2001
>Originator: Martin Husemann
>Release: 1.5R, cvs updated Jan 28, 2001
Generic i386 running current, with serial console.
In sys/dev/pckbc/pckbd.c:pckbdattach ther is a check if this is part of
the console. If not, the keyboard controller is disabled:
/* no interrupts until enabled */
cmd = KBC_DISABLE;
(void) pckbc_poll_cmd(sc->id->t_kbctag, sc->id->t_kbcslot,
cmd, 1, 0, 0, 0);
sc->sc_enabled = 0;
This should be fixed later in pckbd_enable, but somehow this is not called.
Install serial bootblocks, use a GENERIC kernel. Enable a getty on ttyE0
and configure wscons appropriately. Notice you can't type anything on
Call pckbd_enable when opening the wscons device and it is not yet anabled?