mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: "Raju Rameshwar Uprade" <rajsingh@ncra.tifr.res.in>
Cc: Greg KH <greg@kroah.com>,
	linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org
Subject: Re: Regarding USB-RS485 Cable Manufacturer: FTDI SerialNumber: FTU6Z938
Date: Wed, 10 Aug 2011 10:34:17 +0100	[thread overview]
Message-ID: <20110810103417.71b28550@lxorguk.ukuu.org.uk> (raw)
In-Reply-To: <20110810051603.M89044@admin-gateway.ncra.tifr.res.in>

On Wed, 10 Aug 2011 10:55:39 +0530
"Raju Rameshwar Uprade" <rajsingh@ncra.tifr.res.in> wrote:

> 
> Hello Greg,
>            I have purchased a USB-RS485 Cable Manufacturer: FTDI SerialNumber: FTU6Z938.
> And I have written a user space program to communicate with my Rs-485 device at the
> other end.The device at the other end expect 1 address byte with mark parity and rest of
> the bytes with space parity

Linux will be doing RS232/422 by default. If you are doing EIA-485 then
you also need to manage the transmitter and how that is handled is going
to depend upon the cable you have. It may need driver changes, it may
simply need you to manage the carrier assert and sometimes carrier
presence in order to implement the transmitter.

Really you'll need to look at the suppliers data sheets and see.

Alan


      reply	other threads:[~2011-08-10  9:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-10  5:25 Raju Rameshwar Uprade
2011-08-10  9:34 ` Alan Cox [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=20110810103417.71b28550@lxorguk.ukuu.org.uk \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=rajsingh@ncra.tifr.res.in \
    /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

all inboxes | Powered by JetHome®