|
|
hai 3 meses | |
|---|---|---|
| .. | ||
| config | hai 3 meses | |
| README.md | hai 3 meses | |
| install.sh | hai 3 meses | |
| selftest.sh | hai 3 meses | |
| uninstall.sh | hai 3 meses | |
This package targets Debian/Ubuntu-like x86_64 Linux hosts running systemd.
It contains prebuilt static hthd, hthctl, and hth-capture binaries, the
Prod2U profile, and service configuration. Go, Python, and protobuf tools are
not required on the target host.
tar -xzf hth-linux-amd64-vX.Y.Z.tar.gz
cd hth-linux-amd64-vX.Y.Z
./selftest.sh
sudo ./install.sh --backend mock
The default backend is mock. For a real controller, configure a stable udev
symlink first and then install explicitly:
sudo ./install.sh --backend serial --serial-path /dev/hth/controller0
The installer refuses to overwrite an existing /etc/hth/hthd.yaml unless
--force is supplied. Use --no-start to install without starting systemd.
The serial backend requires the device path to exist and has explicit safety
targets; it never silently falls back to mock.
sudo hthd --check-config --config /etc/hth/hthd.yaml
hthctl devices
hthctl capabilities
hthctl snapshot
sudo systemctl status hthd
The service owns the only serial port. Clients use the Unix sockets under
/run/hth; do not pass /dev/ttyUSB* into model containers.
sudo ./uninstall.sh
sudo ./uninstall.sh --purge # also remove /etc/hth, /var/lib/hth, /run/hth
Normal uninstall preserves configuration and captured data. Only --purge
removes them.
This package does not validate physical motors, limit switches, temperature mapping, or FPGA wiring. Hardware validation remains a separate authorized step and is not implied by the mock self-test.