public inbox for linux-serial@vger.kernel.org
 help / color / mirror / Atom feed
From: Grant Edwards <grante@visi.com>
To: linux-serial@vger.kernel.org
Subject: Re: Interface for setting half-duplex transmitter mode
Date: Wed, 6 Aug 2008 21:38:02 +0000 (UTC)	[thread overview]
Message-ID: <g7d5jq$jtt$1@ger.gmane.org> (raw)
In-Reply-To: 20080806192519.GB21558@fan.ossfans.org

On 2008-08-06, Sergey Lapin <slapin@ossfans.org> wrote:

> Is there any interface API for userspace, which I could use to
> set RS-485 mode on UART (which suports it via hardware, by
> setting 1 bit in configuration), which means half-duplex mode
> with RTS line toggling. Now I have it hard-coded for
> appropriate UART, and seen patch which sets this from platform
> data, but is there some API to do it dynamically?

You do realize that there is currently an actyive thread
discussing this, right?

> I know I could implement this by ioctl mechanism, but I need
> some non-standard ioctl number for that. Is there some sane
> way to accomplish my goals? I mean one which be accepted to
> mainline?

You should read the thread where this is being discussed, but
the short answer is that no, there is no standard way to do
this.

-- 
Grant Edwards                   grante             Yow! I have a VISION!  It's
                                  at               a RANCID double-FISHWICH on
                               visi.com            an ENRICHED BUN!!


      reply	other threads:[~2008-08-06 21:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-06 19:25 Interface for setting half-duplex transmitter mode Sergey Lapin
2008-08-06 21:38 ` Grant Edwards [this message]

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='g7d5jq$jtt$1@ger.gmane.org' \
    --to=grante@visi.com \
    --cc=linux-serial@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