Re: Regarding USB-to-Serial device driver

Greg KH
2010-09-14T13:31:59Z

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