05-15-2018, 07:20 PM
The power supply of three usb-ports (usb-2.0 x 2, usb-3.0 x 1)
is controlled by the same control signal, it is not designed to be individually controllable.
And its control signal is GPIO-2.
If you are controlling the power(V-BUS) of usb-2.0 with the script you presented here
The power(V-BUS) supply of usb-3.0 should also be controlled at the same time.
----
However, the above answers will not solve your problem.
Because you already have control over the power of usb-3.0 .
What image was used
What is the problem in doing so
I think that it is better to present your problem more concretely.
is controlled by the same control signal, it is not designed to be individually controllable.
And its control signal is GPIO-2.
If you are controlling the power(V-BUS) of usb-2.0 with the script you presented here
The power(V-BUS) supply of usb-3.0 should also be controlled at the same time.
----
However, the above answers will not solve your problem.
Because you already have control over the power of usb-3.0 .
What image was used
What is the problem in doing so
I think that it is better to present your problem more concretely.