Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Apr 2002 19:42:10 -0700 (PDT)
From:      Bryan Curl <bc3910@yahoo.com>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   FreeBSD 4.4-RELEASE Serial I/O challenge
Message-ID:  <20020424024210.45256.qmail@web20509.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
I'm trying to port a TCL/TK script from Linux to
FreeBSD. Having trouble talking to seial port.
In my TCL script I used (in linux):

cat dload > /dev/ttyS3

where "dload" is a simple ascii file which needs to be
sent raw out the serial port at 2400,n,8,1.

I have tried to set /dev/cuaa1 in FreeBSD with:

stty -f /dev/ttyid1 parenb cs8 2400 cstopb

with no success. Dmesg reports that I have:

 sio1 at port 0x2f8-0x2ff irq 3 on isa0
 sio1: type 16550A

Can someone familiar with BSD I/O setting lend a hand?

Thanks,
bryan


=====
Mucho Gratis
Bryan
--bc3910@yahoo.com

__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020424024210.45256.qmail>