commit | b5eb0085047b701d9513c9fe16dce8359b852ea0 | [log] [tgz] |
---|---|---|
author | Ruben Rodriguez Buchillon <coconutruben@chromium.org> | Fri May 14 11:49:49 2021 -0700 |
committer | Commit Bot <commit-bot@chromium.org> | Wed May 19 22:16:22 2021 +0000 |
tree | 9a50ab8e5b04bc282b423267270afe715cd7c11e | |
parent | 0a40723381d2383a0f7f44410ff8459899746a42 [diff] |
servodtool: add device usb-comms This new helper is designed to identify USB communication failures on devices that are seemingly present on the system e.g. devices that enumerated successfully, but have since then lost their data lines for example, or where leakage current continues to present them as a valid device when the connection has in actuality been cut off. BUG=b:183250135 // servo v4 + ccd on grunt, all device working TEST=sudo servoodtool device -s 0403C044-92D9C359 usb-comms && echo $? 0 sudo servoodtool device -s C1706310714 usb-comms && echo $? 0 // servo v4 + ccd on grunt, ccd signal artifically broken (no SBU // forwarding from grunt) // shows that tool can identify ccd is broken but v4 remains operational TEST=sudo servodtool device -s 0403C044-92D9C359 usb-comms && echo $? Device with serial '0403C044-92D9C359' has USB comms issues. The device has no langid sudo servoodtool device -s C1706310714 usb-comms && echo $? 0 Change-Id: Ife0d71264c7c948db637d0b75f1bf8be06918032 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/hdctools/+/2898037 Tested-by: Ruben Rodriguez Buchillon <coconutruben@chromium.org> Reviewed-by: Brian Nemec <bnemec@chromium.org> Commit-Queue: Ruben Rodriguez Buchillon <coconutruben@chromium.org>
This repository contains source code and documentation for the Servo debug boards. The tools in this repository require the full CrOS chroot, while the Standalone hdctools can be used without the chroot.