Subject: port-pmax/7255: Serial port problems
To: None <gnats-bugs@gnats.netbsd.org>
From: None <pjt@phxase.allied.com>
List: netbsd-bugs
Date: 03/26/1999 10:04:41
>Number:         7255
>Category:       port-pmax
>Synopsis:       Cannot program baud rate of keyboar/mouse ports
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-pmax-maintainer (NetBSD/pmax Portmaster)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 26 10:05:00 1999
>Last-Modified:
>Originator:     Philip J. Tait
>Organization:
AlliedSignal Engines
	
>Release:        1.3.3
>Environment:
DECstation 5000/200
	
System: NetBSD phxtst08 1.3.3 NetBSD 1.3.3 (GENERIC) #0: Sat Dec 12 15:08:02 EST 1998 root@vlad:/usr/src/sys/arch/pmax/compile/GENERIC pmax


>Description:
The baud rate of /dev/ttyD0 and /dev/ttyD1 cannot be changed from 4800.
Methods tried were ioctls (termio), getty and stty.
Another clue is that at one point during the experiments there was a kernel
error message about an "LK201 keyboard" error.

It appears that the GENERIC kernel contains hard-coded assumptions that
the mouse and keyboard ports are, in fact, being used as such, even though
/dev/console is a VT320 connected to /dev/ttyD3.
	
>How-To-Repeat:
Connect a terminal to the mouse or keyboard port, set the corresponding
getty entries in /dev/ttys to "on", send a HUP signal to init, and note
the baud rate that works.
	
>Fix:
Change baud rate of connected terminal.  This is not an option for the
desired application.

	
>Audit-Trail:
>Unformatted: