[svlug] Serial Port Problem [SOLVED]

Rafael raffi at linwin.com
Wed Oct 11 16:34:02 PDT 2000


On Wed, 11 Oct 2000, Greg Herlein wrote:

> > Analyzing communications and other real time events requires real time
> > Linux.

I included "other real time events" which makes my statement valid and I
stay behind it. Sure, you can "analyze" 115+ kBd serial lines with most
desktop machines of today. In a broader term, analyzing communications on
a regular PC is not going to guarantee you capture everything passing by
or tell the quality of the signal.

> Uhm, I don't know what you're smoking, but I was analyzing serial

Just a regular car exhaust, Silicon Valley brand. Pssst! Want some?

> communications streams in linux long before RTLinux ever got
> started...  and was doing the same in DOS before Linux ever got

So did I some time back on single task 286 PeeCee and still have DOG
program somewhere on 5.25" floppy to do that on serial ports with RS232,
which is still only a recommended standard by the way.

> started.  You *do not* need a real-time OS to analyze
> communications streams - you need a fast enough processor and i/o
> subsystems so that you can handle the flow.

So there's a catch huh? Fast *enough* processor. Well try "your method"
with 2GB ethernet card which is a fancy serial card in a way and we'll see
how much you can analyze on non-switching hub in "real time" using generic
Linux distribution.

I'm sure you heard of protocol analyzer?

> I have some code that logs serial streams to disk.  Let me make
> sure it still compiles and has licenses attached (I think I GPL'd
> it - if not, I will) and I'll post a link to it.

Good. We'll check it out. I wish RS232 disappears from generic PCs before
then :-)

> Greg
> 
> /**************************************************************
> Greg Herlein                                   greg at herlein.com
> Herlein Engineering			        www.herlein.com
> ***************************************************************/

   O__  ---- Rafael Skodlar
  c/ /'_ --- Linux Imagineer since 1994
 (*) \(*) -- There is a tunnel at the end of light.






More information about the svlug mailing list