mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-30 02:20:48 +00:00
--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>
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.