Open owenbrooks opened 1 year ago
Nvidia documentation describes connecting to Tegra A, Tegra B, and the Aurix device using minicom over the USBA UART debug port.
We can shutdown the PX2 fully using:
minicom -D /dev/ttyUSB2
sudo shutdown now
minicom -D /dev/ttyUSB6
sudo shutdown now
minicom -D /dev/ttyUSB1
power ab off
Note that USB2 is Tegra A, 6 is Tegra B and 1 is the Aurix. Sometimes shutting down one Tegra prevents us connecting to the other one, however. This needs to be investigated still.
We may be able to script this series of operations using https://linux.die.net/man/1/runscript
According to nvidia’s documentation, both Tegra A and Tegra B computers on the PX2 should be shut down before the power is disconnected.
Currently, we typically have a monitor connected to one of the Tegra’s, and run
sudo shutdown now
on that Tegra only, and then we disconnect the power without having shut down the other.Possibly the best solution is to set up easy ssh access with static ip addresses for each Tegra, which we can assign host names to in
/etc/hosts
for easy connection.