I'm wondering about how to access the gpios on the WL-520gu. This thread says "4 gpio’s available on the board: Power LED, wifi LED, EZsetup button and reset button" but provides no information about how to access them: http://mightyohm.com/blog/2009/02/build … g-control/
In this openWrt thread, on 2008-03-30, Bartman007 says "I have patches that properly detect it and map the button/led GPIOs correctly. Hopefully I'll commit that tomorrow", but no more information is given: https://forum.openwrt.org/viewtopic.php?id=15102
Here, in a thread not related to the WL-520gu (so the pin number might differ), someone says "the first prerequisite is that u must have gpioctl package installed" and then you can turn on and off with "gpioctl set 0" and "gpioctl clear 0": https://forum.openwrt.org/viewtopic.php?id=16828
I opkg installed gpioctl and rebooted, but when I do "gpioctl set 0" I get "Error whilst opening /dev/gpio". "ls /dev" shows that there is no /dev/gpio. There is nothing in /etc/config or /etc/init.d relating to gpio. There is /etc/init.d/leds, which refers to /sys/class/leds, but that doesn't exist.
What do I need to do to enable and turn on and off the gpios on this router?