Robotics:: Disable peripherals to save power

Hi,
I ordered my first Axon SBC and I’m super excited to use it once it arrives.

Can I disable peripherals so they do not consume power? For example I will not be using USB, so I want to disable power to the USB ports. I will be using the Axon as a companion computer for AI tasks on my robot, and want to ensure minimal power usage as possible

For example, will this work?

sudo apt install uhubctl
uhubctl -l 1-1 -p 2 -a off

Any thoughts?

Thank you

vicharak@vicharak:~$ sudo uhubctl
Current status for hub 3 [1d6b:0002 Linux 6.1.75-axon ehci_hcd EHCI Host Controller fc880000.usb, USB 2.00, 1 ports, ppps]
  Port 1: 0100 power
Current status for hub 6 [1d6b:0002 Linux 6.1.75-axon ehci_hcd EHCI Host Controller fc800000.usb, USB 2.00, 1 ports, ppps]
  Port 1: 0100 power

Now, If you want to off Upper Side of USB 2.0 Port Then run below Command :

sudo uhubctl -l 6 -p 1 -a 0
  • -l refers to location ID (hub number in your case).
  • -p 1 refers to port number (you have only one port per hub).
  • You must always control just one hub at a time with uhubctl

You will get below output with confirmation.

Current status for hub 6 [1d6b:0002 Linux 6.1.75-axon ehci_hcd EHCI Host Controller fc800000.usb, USB 2.00, 1 ports, ppps]
  Port 1: 0100 power
Sent power off request
New status for hub 6 [1d6b:0002 Linux 6.1.75-axon ehci_hcd EHCI Host Controller fc800000.usb, USB 2.00, 1 ports, ppps]
  Port 1: 0000 off
1 Like