I got a BPI-M2 Zero connected via OTG to a device that recognises power levels of the USB port.
I would like to be able to turn off the USB power of the port. Is there any way to achieve this? All attempts using the generic “uhubctl” or /sys/devices/usb “level” “power” etc. attempts failed. This turns of the USB in the linux system but the port is still powered.
Im open for any solution. Could be also a wiring from the GPIO ports to the USB port, as long it’s controllable from Linux.
Thx & Best, ksh