Subject: kern/12095: pckbd not working if it is not the console
To: None <gnats-bugs@gnats.netbsd.org>
From: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 02/01/2001 04:04:26
>Number: 12095
>Category: kern
>Synopsis: pckbd does not work when it is not the console
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Feb 01 04:07:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Martin Husemann
>Release: 1.5R, cvs updated Jan 28, 2001
>Organization:
>Environment:
Generic i386 running current, with serial console.
>Description:
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[0] = 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.
>How-To-Repeat:
Install serial bootblocks, use a GENERIC kernel. Enable a getty on ttyE0
and configure wscons appropriately. Notice you can't type anything on
the keyboard.
>Fix:
Call pckbd_enable when opening the wscons device and it is not yet anabled?
>Release-Note:
>Audit-Trail:
>Unformatted: