Dear all,
first of all, thanks a lot for working on this device. It's great to run a mainline kernel on odroid C2.
I just installed armbian to my C2 and noticed USB devices are unpowered and thus, don't show up via lsusb. Reading this thread and the notes on the device's page (https://www.armbian.com/odroid-c2/), I assumed that gpio126 or maybe 501 would be the one to use to power up the hub.
$ cat /sys/kernel/debug/gpio
gpiochip1: GPIOs 378-496, parent: platform/c8834000.periphs:pinctrl@4b0, periphs-banks:
gpio-392 ( |mdio-reset ) out hi
gpio-407 ( |reset ) out hi
gpio-422 ( |cd ) in lo
gpio-465 ( |TFLASH_VDD ) out hi
gpiochip0: GPIOs 497-511, parent: platform/c8100000.bus:pinctrl@14, aobus-banks:
gpio-500 ( |TF_IO ) out lo
gpio-501 ( |usb-hub-reset ) out hi
gpio-502 ( |USB_OTG_PWR ) out hi
gpio-510 ( |c2:blue:alive ) out lo
But I cannot export either gpio pin. Is there a work-around to enable the usb hub?
Kind regards,
Olaf