/tpiadm

A simple TuringPi V1 slot administration tool.

Primary LanguageMakefileGNU General Public License v3.0GPL-3.0

tpiadm

A simple TuringPi V1 slot administration tool.

See also

Binary

Find a precompiled static binary at the bin/ directoy or at the Releases page.

  • Compiled with Rasberry PI OS (buster, 32Bit)

Documentation

Usage

Usage: tpiadm [OPTION...]
tpiadm -- TuringPi V1 slot administration tool.

  -i, --info                 show slots info
  -n, --slot=SLOT-ID         slot number (1-7)
  -p, --power=POWER          power 0=OFF, 1=ON
  -s, --set                  set slot power mode
  -v, --verbose              verbose output
  -?, --help                 Give this help list
      --usage                Give a short usage message
  -V, --version              Print program version

Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.

Report bugs to <t.ludewig@gmail.com>.

Sample

get info

tpiadm -i
slot 1 ON installed
slot 2 ON installed
slot 3 ON installed
slot 4 ON installed
slot 5 ON installed
slot 6 ON installed
slot 7 OFF -

Power on slot 7

tpiadm -s -n 7 -p 1
slot #7 power ON

or

tpiadm --set --slot=7 --power=1
slot #7 power ON