USB Per Port On/ Off

All USB ports on the NRU-220S can be power-cycled using GPIO PJ.00. Please refer to the GPIO control instructions for your Jetpack version to operate it.

JP 6.x

sudo su

# ON
PIN=PJ.00
VAL=0
sudo pkill -f -- "$(sudo gpiofind $PIN)"
sudo gpioset -m signal $(sudo gpiofind $PIN)=$VAL &
sleep 1

# OFF
PIN=PJ.00
VAL=1
sudo pkill -f -- "$(sudo gpiofind $PIN)"
sudo gpioset -m signal $(sudo gpiofind $PIN)=$VAL &
sleep 1

# ON
PIN=PJ.00
VAL=0
sudo pkill -f -- "$(sudo gpiofind $PIN)"
sudo gpioset -m signal $(sudo gpiofind $PIN)=$VAL &

JP 5.x

Last updated