lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100914131925.GC375@suse.de>
Date:	Tue, 14 Sep 2010 06:19:25 -0700
From:	Greg KH <gregkh@...e.de>
To:	Raju Rameshwar Uprade <rajsingh@...a.tifr.res.in>
Cc:	linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org
Subject: Re: 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ