[Gllug] High-latency RS-232

Neil Tancock neil at safeharbourit.co.uk
Fri Mar 19 20:55:04 UTC 2010


Hiya,  I've got a couple of Lantronix boxes if they'd be any help?  You
could use them to test the serial port or create a new port to test with
the equipment?

I agree about the window gripers - dogma isn't always a good thing!

Neil

-----Original Message-----
From: gllug-bounces at gllug.org.uk [mailto:gllug-bounces at gllug.org.uk] On
Behalf Of TM
Sent: 19 March 2010 07:46
To: gllug at gllug.org.uk
Subject: [Gllug] High-latency RS-232

Hi All,

We are facing a problem at work talking to a piece of kit via RS-232
from a Linux box. This problem did not exist in Windows and now a few
guys (from the Windows world) are beginning to question the move to
Linux.

This annoys me no end because there is a lot of 'Windows is almighty
good and Linux is a pile of crap' from people who haven't even looked at
the issue properly.

We talk to this piece of kit via RS-232 over TCL. We use xon/xoff. We
have traditionally used Windows and the comms works a treat. Now they
have moved to Linux and the serial port has turned sluggish. It takes
about 1000 characters to stop/pause. Which is way to much.

I suggested fiddling with the niceness of the process. This helped but
wasn't good enough to solve the problem.

They run a 'stock' kernel from Fedora and/or RedHat. Moving to a
different distribution (thinking real-time kernel here) is complicated
because there is a lot of code developed for the current
kernel/distribution.

I think they could just happen to have a serial port with a generic,
poorly optimised driver. I have suggested googling for a serial card
well supported in Linux.

We have also played with the RTS-CTS handshake. This introduces a bunch
of other issues (solvable, no doubt, but requiring time and effort). So,
we would like to sick to Xon/Xoff.

Can anyone suggest ways of tackling the problem please?

Many thanks
TM
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list