New issue
Advanced search Search tips

Issue 736778 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

eCTS: Characters read from ttyACM0 corrupted in a certain environment

Project Member Reported by dnojiri@chromium.org, Jun 26 2017

Issue description

In a freshly installed cros_sdk, cts.py fails because characters read from ttyACM* are corrupted.
 
Project Member

Comment 1 by bugdroid1@chromium.org, Jun 29 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform/ec/+/af160d8201a2ea62d679a7d8a7878af8513ae880

commit af160d8201a2ea62d679a7d8a7878af8513ae880
Author: Daisuke Nojiri <dnojiri@chromium.org>
Date: Thu Jun 29 04:50:50 2017

eCTS: Use pySerial to read from tty ports

In a different environment, returned characters are corrupted if
baudrate isn't specified. This patch replaces tty_read method with
the one using pySerial.

BUG=chromium:736778
BRANCH=none
TEST=Run run_ects.py and verify all tests pass.

Change-Id: I8c14f6a04c900d2670ad86c1b91f3fe6625ba69c
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/550848
Reviewed-by: Randall Spangler <rspangler@chromium.org>

[modify] https://crrev.com/af160d8201a2ea62d679a7d8a7878af8513ae880/cts/common/board.py

Sign in to add a comment