All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@suse.de>
To: Raju Rameshwar Uprade <rajsingh@ncra.tifr.res.in>
Cc: linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org
Subject: Re: Regarding USB-to-Serial device driver
Date: Tue, 14 Sep 2010 06:19:25 -0700	[thread overview]
Message-ID: <20100914131925.GC375@suse.de> (raw)
In-Reply-To: <20100914060649.M96376@admin-gateway.ncra.tifr.res.in>

On Tue, Sep 14, 2010 at 11:41:42AM +0530, Raju Rameshwar Uprade wrote:
>  
> > usb to serial devices are known for sending data in "chunks", that's the
> > way the devices work (cheap, tiny, 8bit microcontrollers in the device)
> > and they break things up like this all the time.
> > 
> 
>  Greg,
>       I am able to send data bytes properly.One problem, I am currently facing is to
> enable Address parity and Data parity.
> 
> For Address parity we have to give a mark parity ( 0x04 ).
> For Data parity we have to give a space parity ( 0x05 ).
> I don't know how I can enable parity in pl2303.c.

Enable it like you would for any other serial port from userspace using
the proper termios bits.

good luck,

greg k-h

  reply	other threads:[~2010-09-14 13:31 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-13  9:17 Regarding USB-to-Serial device driver Raju Rameshwar Uprade
2010-09-13 13:56 ` Alan Stern
2010-09-13 15:48 ` Greg KH
2010-09-14  6:11   ` Raju Rameshwar Uprade
2010-09-14 13:19     ` Greg KH [this message]
2010-09-22  5:32       ` Regarding USB-to-serial " Raju Rameshwar Uprade
2010-09-22 14:56         ` Greg KH
2010-09-23 10:15           ` Raju Rameshwar Uprade
2010-09-23 14:02             ` Greg KH
2010-09-28  9:21               ` Raju Rameshwar Uprade
2010-09-28 11:30                 ` Greg KH
2010-09-28 11:56                   ` Raju Rameshwar Uprade
2010-09-28 12:07                     ` Greg KH
2010-10-04  4:33                       ` Raju Rameshwar Uprade
2010-10-05 11:03                         ` pl2303_ttyUSB0 userspace application not able to control RTS line Raju Rameshwar Uprade
2010-10-05 13:33                           ` Greg KH
2010-10-06  4:14                             ` Raju Rameshwar Uprade
2010-10-06  4:30                               ` Greg Oliver
2010-10-06  5:01                                 ` Raju Rameshwar Uprade

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=20100914131925.GC375@suse.de \
    --to=gregkh@suse.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.