Hardware: Banana Pi BPI-M4
Problem Description:
- We have external instruments connected to the Banana Pi via USB Type-A. Occasionally, we must manually unplug and re-plug them to power-cycle and reboot the instruments.
- For the sake of remote troubleshooting or as a temporary workaround, is it possible to cut the power to the USB Type-A port via command line or code?
Troubleshooting Actions Taken: I consulted an AI and attempted the following commands, but the USB power was not disconnected:
echo '0' | sudo tee /sys/bus/usb/devices/1-1.4/authorizedecho 'auto' | sudo tee /sys/bus/usb/devices/1-1.4/power/controlandautosuspend_delay_msecho '1-1.4' | sudo tee /sys/bus/usb/drivers/usb/unbind