bc3910 at pcisys.net
Sat Jun 24 20:25:25 UTC 2006
Ted Mittelstaedt wrote:
> stty speed 2400 -hup cs8 -parenb -clocal -f /dev/ttyd0
> cat dload.txt > /dev/ttyd0
> also the scanner must assert DTR when it's turned on.
> ----- Original Message -----
> From: "Bryan" <bc3910 at pcisys.net>
> To: <freebsd-questions at freebsd.org>
> Sent: Saturday, June 24, 2006 12:53 PM
> Subject: Serial Communication
>> I have an old TCL/TK Script That I wrote several years ago that sends
>> data out of a serial port into a Radio Shack Pro-64 scanner. The program
>> basically programs the scanner with frequencies to listen to.
>> I cant figure out how to make it work in FreeBSD. The port must be
>> configured as follows
>> COM1: 2400, 8, N, 1
>> The actual snippet of code that writes out to the port looks like this:
>> cat dload.txt > /dev/prd64
>> where /dev/pro64 was a device (com port configured as above)I had
>> created (somehow) for the linux box I had at the time.
>> The handbook reading did not provide enough detail for me to get the
>> port configured and working. The port does not need anything to be
>> recognized coming in since the operation is outbound only. Software or
>> scanner cannot read the port anyway.
>> Can anyone give me a primer or some help to get going?
>> Thank You.
>> freebsd-questions at freebsd.org mailing list
>> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
I got this error though.
#stty speed 2400 -hup cs8 -parenb -clocal -f /dev/ttyd0
stty: illegal operation -- -f
Also, will the system remember this setting on reboot?
If not, how can I make it remember?
More information about the freebsd-questions