lkml.org 
[lkml]   [2010]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Regarding USB-to-Serial device driver
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


\
 
 \ /
  Last update: 2010-09-14 15:35    [W:0.118 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site