Bill Caroselli (Q-TPS) <> QTPS@EarthLink.net> > wrote:
Dev.ser -F will disable all hardware flow control.
Is -F option stronger than stty -ihflow -ohflow -lkhflow </dev/… ?
Not stronger, just sooner. If the driver is started without the -F,
then depending on hardware design, attached cables, noise environment,
the port may think it’s been told to shutup (paged). -F tells the
driver to ignore glitches (everything, actually) on the handshaking
If yes, can I get Dev.ser lanched without -F to the same state
from C code by calling tc* functions ?
Normally, Dev.ser is started before your code. In any case, you can
use -F, stty or your prog to achieve the same effect; it’s a matter of
which is more convenient. Keep in mind that if the driver was started
without -F then you may have to not only tell the port to ignore the
handshake signals but also (explicitly) to unpage itself.
ohpaged is a status signal indicating that there is data to output ( the
‘o’) and that hardware (the ‘h’) is preventing the bytes from being
So yes, you won’t get ohpages if Dev.ser has -F