Subject: Help w/serial port
To: NetBSD Help <netbsd-help@netbsd.org>
From: Bryan P <u1@terran.org>
List: netbsd-help
Date: 09/24/2002 00:59:07
Hello,

I'm having a lot of trouble getting a serial port working on my IBM
Thinkpad 365XD Laptop running NetBSD-1.6.  This is what I see at bootup:

NetBSD 1.6 (GENERIC) #0: Sun Sep  8 19:43:40 UTC 2002
    autobuild@tgm.daemon.org:/autobuild/i386/OBJ/autobuild/src/sys/arch/i386/compile/GENERIC
...
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
...
com3 at pcmcia1 function 1 port 0x400-0x407: serial device
com3: ns16550a, working fifo

I installed minicom from pkgsrc and it starts/runs as I'm familiar (with
Linux), but I can not actually communicate over the serial port; I type and
see nothing.  I'm using /dev/tty00, 9600 8N1 hardware flow control.  The
serial port is physically cabled to another machine, a headless server
running NetBSD with console to serial.  I have always been able to access
this server through another laptop running minicom on Linux, but this is
the first time I've tried under NetBSD.  Here is what stty says:

% stty -a -f /dev/tty00
ispeed 0 baud; ospeed 9600 baud; 0 rows; 0 columns;
lflags: icanon isig iexten echo echoe -echok echoke -echonl echoctl
	-echoprt -altwerase -noflsh -tostop -flusho -pendin -nokerninfo
	-extproc
iflags: -istrip icrnl -inlcr -igncr ixon -ixoff ixany imaxbel -ignbrk
	brkint -inpck -ignpar -parmrk
oflags: opost onlcr -ocrnl oxtabs onocr onlret
cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb -crtscts -mdmbuf
	-cdtrcts
cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = <undef>;
	eol2 = <undef>; erase = ^?; intr = ^C; kill = ^U; lnext = ^V;
	min = 1; quit = ^\; reprint = ^R; start = ^Q; status = ^T;
	stop = ^S; susp = ^Z; time = 0; werase = ^W;

Any suggestions?

Thanks,
Bryan