mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-30 18:41:11 +00:00
Update pyusb calling format to match chroot version. BRANCH=None BUG=b:35849284 TEST=flash, control tigertail successfully Change-Id: I27f34d63c8ddc09c903dcc1da39d18e7dbf15710 Reviewed-on: https://chromium-review.googlesource.com/511668 Commit-Ready: Nick Sanders <nsanders@chromium.org> Tested-by: Nick Sanders <nsanders@chromium.org> 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.