Serial Communications Problem

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Robert Ambrose
Date:  
Subject: Serial Communications Problem
More that likely it's a cable issue. You are going computer to computer,
which is DTE <-> DTE, which requires a null modem cable configuration of
some kind.

rna

On Thu, 21 Feb 2002, Benjamin Bostow wrote:

> I am having a problem printing out of the serial port on COM 1. When I
> run "stty -a -F /dev/ttyS0" I get the following:
>
> speed 2400 baud; rows 0; columns 0; line = 0;
> intr = <undef>; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol =
> <undef>;
> eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase =
> ^W;
> lnext = ^V; flush = ^O; min = 1; time = 0;
> -parenb -parodd cs8 hupcl -cstopb cread clocal -crtscts
> -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl
> -ixon
> -ixoff -iuclc -ixany -imaxbel
> opost -olcuc -ocrnl -onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0
> vt0
> ff0
> isig -icanon iexten -echo echoe echok -echonl -noflsh -xcase -tostop
> -echoprt
> -echoctl echoke
>
> When I run "setserial -ag /dev/ttyS0" I get:
>
> /dev/ttyS0, Line 0, UART: 16550A, Port: 0x03f8, IRQ: 4
>     Baud_base: 115200, close_delay: 50, divisor: 0
>     closing_wait: 3000, closing_wait2: infinte
>     Flags: spd_normal skip_test

>
> I have a hyper terminal set up with a baud rate of 2400, Data bit of 8,
> Parity of None, Stop bit of 1 and flow control is none. I am trying to
> send a string to the port by using "echo "test" > /dev/ttyS0. Can anyone
> help me on why this might not be working, or if the settings are
> incorrect how to fix them?
>
> Benjamin
>
> ________________________________________________
> See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post to the list quickly and you use Netscape to write mail.
>
> PLUG-discuss mailing list -
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>