Skip to content

thorsten-l/tpiadm

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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