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]
Date:	Wed, 3 Mar 2010 19:31:56 +0100
From:	Andreas Kemnade <andreas@...nade.info>
To:	Johan Hovold <jhovold@...il.com>
Cc:	peter@...e.net, Greg KH <greg@...ah.com>,
	linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org
Subject: Re: [BUG] usb-serial / pl2302 corrupted receive

Hi,

On Wed, 3 Mar 2010 15:17:18 +0100
Johan Hovold <jhovold@...il.com> wrote:

> On Wed, Mar 03, 2010 at 11:47:05AM +0100, peter@...e.net wrote:
> > Quoting Greg KH <greg@...ah.com>:
> > > On Mon, Mar 01, 2010 at 07:07:00PM +0100, Peter Feuerer wrote:
> > >> I connected two pls2302 usb-serial converters to two different
> > >> usb-ports of my machine and connected them with a rs232-nullmodem
> > >> cable to each other.
> > >>
> > >> Terminal1:
> > >> cat /dev/ttyUSB1
> > >>
> > >> Terminal2:
> > >> while true; do echo 123456789012345678901234567890 > /dev/ttyUSB0 ; done
> > >
> > > cat and echo are known to not work well with usb to serial devices.  Can
> > > you duplicate this with a "real" tty program like minicom or something
> > > else?
> > 
> > I will try to set up a test use-case which uses kermit.
> > 
> > But there is a calltrace in kernel log when using cat & echo, so  
> > something in the driver went wrong.
> > Thus there is a bug which can be reproduced and it should be fixed,  
> > don't you agree?
> 
> Not necessarily. The warning you attached to your first post is a false
> one (it has been fixed in 2.6.33) and is not directly related to the
> problem you describe.
> 
Are udev rules around which attach gpsd to the usb to serial adapter?
That might interfere.
I had problems with pl2302 adaptors due to that reason. I wondered why
stty -F /dev/ttyUSBx showed different things than on earlier calls.

Greetings
Andreas Kemnade

Download attachment "signature.asc" of type "application/pgp-signature" (198 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ