Subject: com device
To: None <port-alpha@netbsd.org>
From: Vadym V. Chepkov <vvc@kharkiv.net>
List: port-alpha
Date: 12/24/1999 23:08:23
Hello!
I've installed NetBSD on AS1000 at last. I changed network and video
adapters from EISA to PCI and now it works.

But I found another problem. :-(

This is part of dmesg message:

com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo

So, I tried to find which logical device are correspond to these
com-ports.

$ man -k com

com (4) -  serial communications interface

Ok

$ man 4 com
man: no entry for com in the manual.
:-(

I looked in the /etc/ttys

# AlphaStation NS16550 ("com") serial ports
ttyC0   "/usr/libexec/getty std.9600"   unknown off secure
ttyC1   "/usr/libexec/getty std.9600"   unknown off secure

Looks fine

# bash-2.03# stty < /dev/ttyC0 ; frozen :-(
^C

Ok, another try

# stty -f /dev/ttyC0
ispeed 0 baud; ospeed 9600 baud;
lflags: echoe echoke echoctl
oflags: onocr onlret
cflags: cs8 -parenb

I'd like to install special device, which I developed, on COM1, so I tried
to configure com-port without modem control and 2400 baud

# stty -f /dev/ttyC0 clocal speed 2400
9600

# stty -f /dev/ttyC0 - settings isn't changed :-(
  
What I'm doing wrong or where I can read about COM devices under NetBSD on
alpha?

P.S. When I'm working on FreeBSD 
man sio and stty < /dev/cuaia0 2400 work very well. 

Vadym Chepkov,
Kharkiv State Polytechnic University
Ukraine