← Back to team overview

kernel-packages team mailing list archive

[Bug 1542862] Re: pl2303h and ftdi serial port bug

 

Jason Curl, thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command only once, as it will automatically gather debugging information, in a terminal:
apport-collect 1542862

** Package changed: linux-lts-vivid (Ubuntu) => linux (Ubuntu)

** Changed in: linux (Ubuntu)
   Importance: Undecided => Low

** Changed in: linux (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1542862

Title:
  pl2303h and ftdi serial port bug

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  When developing an application using serial ports, behaviour between
  process restarts is undefined for particular usb serial port chipsets.

  Tested chipsets to fail are:
  * pl2303H
  * ftdi

  Tested chipsets to work are:
  * 16550A
  * pl2303ra

  Attached is a minimal test program to recreate the issue. The program
  needs to run twice, the first to create the problem, the second
  instance that shows the problem. See the comments at the beginning of
  the test program to see expected output and observed output.

  You'll need the device under question attached and running as the
  receiver in the test program and a NULL modem cable (3 wire). Easiest
  to show the problem if you have two of the same USB devices attached
  and execute the command with "./a.out /dev/ttyUSB0 /dev/ttyUSB1".

  Note, flushing, and other workarounds haven't worked, only physically
  removing and reinserting the problematic devices between runs (in
  particular, the device that is receiving the data over the serial
  port).

  As there appears to be data in a buffer between runs that can't be
  properly flushed, I can't say if this is a potential security issue or
  not.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: linux-image-3.19.0-49-generic 3.19.0-49.55~14.04.1
  ProcVersionSignature: Ubuntu 3.19.0-49.55~14.04.1-generic 3.19.8-ckt12
  Uname: Linux 3.19.0-49-generic i686
  ApportVersion: 2.14.1-0ubuntu3.19
  Architecture: i386
  CurrentDesktop: Unity
  Date: Sun Feb  7 15:28:42 2016
  InstallationDate: Installed on 2016-02-04 (2 days ago)
  InstallationMedia:

  SourcePackage: linux-lts-vivid
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1542862/+subscriptions


References