public inbox for linux-hams@vger.kernel.org
 help / color / mirror / Atom feed
From: Dave Platt <dplatt@radagast.org>
To: linux-hams <linux-hams@vger.kernel.org>
Subject: Re: Issue with RS232 <-> USB adaptor (FC15)
Date: Mon, 13 Jun 2011 14:07:14 -0700	[thread overview]
Message-ID: <4DF67C02.4060200@radagast.org> (raw)
In-Reply-To: <4DF678B0.1080600@shom.fr>

On 06/13/2011 01:53 PM, Bruno Tréguier wrote:
> Le 13/06/2011 à 22:28, f8arr a écrit :
>> Hello,
>>
>> I'm not sure because I found the problem to resolve my issue :
>>
>> stty --file=/dev/ttyUSB0 clocal
>>
>> I remove all flow control on the serial.

I don't think that "clocal" removes flow control (on RTS/CTS) -
that's controlled by a separate option.

What "clocal" does, is "disable modem control signals".
Specifically, for a port marked "-clocal" (not local),
an open() call will block until the device on the port
asserts the CD (carrier detect) line, and if the CD
line is deasserted the port will "hang up".  This is
useful for serial ports connected to dial-up modems,
but not particularly desirable for serial ports being
used to control local devices such as transceiver.

I can't recall whether a -clocal port automagically
asserts DTR even when it isn't open... I don't think so
but I could be wrong.

--
To unsubscribe from this list: send the line "unsubscribe linux-hams" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2011-06-13 21:07 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-13 19:24 Issue with RS232 <-> USB adaptor (FC15) f8arr
2011-06-13 19:40 ` Dave Platt
2011-06-13 19:54   ` f8arr
2011-06-13 19:58 ` Bruno Tréguier
2011-06-13 20:28   ` f8arr
2011-06-13 20:53     ` Bruno Tréguier
2011-06-13 21:07       ` Dave Platt [this message]
2011-06-13 21:26         ` f8arr
2011-06-14 20:52           ` f8arr
2011-06-14 21:01             ` Bruno Tréguier
2011-06-14 21:06               ` f8arr
2011-06-14 21:20                 ` f8arr
2011-06-14 21:39                   ` Bruno Tréguier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DF67C02.4060200@radagast.org \
    --to=dplatt@radagast.org \
    --cc=linux-hams@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox