*BSD News Article 82153


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.netspace.net.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!solace!news.stealth.net!www.nntp.primenet.com!nntp.primenet.com!howland.erols.net!agate!nemesis.its.berkeley.edu!bob
From: bob@nemesis.its.berkeley.edu (bob prohaska)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Can data be piped from serial to parallel ports?
Date: 3 Nov 1996 05:14:45 GMT
Organization: University of California, Berkeley
Lines: 25
Message-ID: <55h9o5$kvn@agate.berkeley.edu>
NNTP-Posting-Host: nemesis.its.berkeley.edu
Summary: Can data be piped from serial to parallel ports
Keywords: serial parallel pipe
X-Newsreader: TIN [version 1.2 PL2]

Hi all,

Does anyone happen to know if it's possible to to set up a
*nix pipe between ports, such that data shoved in one pops
out the other? A dedicated 386 running FreeBSD might be
cheaper than buying a dedicated interface, and lots more
instructive 8-)

I've got a piece of equipment that talks on a serial port, 
and another piece of equipment that listens on a parallel
port. It occurred to me that a line something like

cat < /dev/sio1 > /dev/lpt0 

might have the desired effect, but it's unclear if the
link is either bidirectional or 8 bit clean. Can anybody
offer enlightenment? The link might not have to be
bidirectional, but I think it'll have to be 8 bit clean.

thanks for reading!

bob