Files
OpenCellular/extra/tigertool
Nick Sanders c2d4746c37 tigertool: add power log and version
--power provides a single sample from the INA
--powerlog [n] provides n samples
--check_version returns the tigertail's firmware version
--bus selects which bus to probe power on [vbus|cc1|cc2]

BRANCH=None
BUG=b:35849284
TEST=check power readings, version.

Change-Id: I728d954b6649fe0401093bf3beb7ec89f27822a6
Signed-off-by: Nick Sanders <nsanders@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/634566
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
2017-08-25 21:52:51 -07:00
..
2017-05-25 00:14:08 -07:00

tigertool

tigertool.py is a commandline utility to control the tigertail USB-C mux. It supports changing the mux status to port A, B, or off. You can set a serial number to use multiple tigertails at once.

Usage

Typical usage to set the mux port
./tigertail.py -m [A|B|off] -s [serialno]

Reboot the tigertail
./tigertail.py --reboot

Set the serial number, when only one tigertail is plugged
./tigertail.py --setserialno=[serialno]

Tigertail can support up to 20V 3A on the mux and passes through all USB-C lines except SBU.