05-17-2018, 08:43 AM
(05-17-2018, 02:25 AM)pfeerick Wrote:(05-15-2018, 07:20 PM)t4_4t Wrote: 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.
No, not quite. It depends on what version of board you have. Whilst all three ports (USB OTG upper, USB lower and USB3) have individual 'power switch' ICs, the two USB2 ports have their enabled pins tied together. Version 1.0 had USB20_HOST_DRV (GPIO0_A2) and the USB3 port was on GPIO0_A0. But it seems that Version 2.0 still has the USB2 ports commoned and on USB20_HOST_DRV (GPIO0_A2), the USB3 port is on PWR_LED, meaning that by rights, the USB3 port for that version should be on as soon as the power is connected.
Since I have both versions of the board, I should be able to test that easily enough...
(05-16-2018, 11:26 AM)cglhu Wrote: thanks for your reply. I'm running a arch linux installation from https://archlinuxarm.org as a headless mail server. For backup reasons I would like to use the usb ports. With the script I mentioned, I managed to activate the usb2.0 ports, but the usb3.0 port has still no power.
With that variable in mind, can you identify which board version you have? If you haven't seen it already, it's marked on the board just next to the pinecone logo near the RAM and CPU.
Hi pfeerick,
I have a Rock64 V2.0 (2017 07/13). Does that help?
Best regards,
Christoph