Re: (another) serial port question
- From: Grant Edwards <grante@xxxxxxxx>
- Date: Thu, 01 Jun 2006 18:05:06 -0000
On 2006-06-01, Floyd L. Davidson <floyd@xxxxxxxxxx> wrote:
Grant Edwards <grante@xxxxxxxx> wrote:
On 2006-05-31, Floyd L. Davidson <floyd@xxxxxxxxxx> wrote:
You are setting CLOCAL here, but down a bit you set CRTSCTS.
If you want hardware flow control to work, do *not* turn off
the modem control lines!
If he wants to ignore CD but enable RTS/CTS flow control, then
setting CLOCAL and CRTSCTS is correct.
CLOCAL controls whether operations will set DTR and then block
waiting for CD or not.
Maybe that's not what the Posix spec says, but that's how the
Linux driver works.
Interesting. I thought (but had never looked to see) that it
disabled *all* of the control lines.
I have memories of things waiting on CD and DSR as well, but
that may have been under DOS or CP/M.
It looks like CLOCAL also prevents the "automatic" assertion of
DTR when the port is opened.
Grant Edwards grante Yow! Can I have an IMPULSE
at ITEM instead?
- Prev by Date: kamparealis - tool for creation Open Goods (not just open soft)
- Next by Date: Re: (another) serial port question
- Previous by thread: Re: (another) serial port question
- Next by thread: Re: (another) serial port question