Hi,guys! I am finding the gpio to enable USB_POWER for tl-wr843n(arthoes ar9341).I've tried out all gpio number just can't power up the usb(with factory firmware it does).Can someone kind to help me solve this? These are the command I tried to find gpios,don't know if it's proper.But it works on leds. root@OpenWrt:~# echo 6 > /sys/class/gpio/export root@OpenWrt:~# echo out > /sys/class/gpio/gpio6/direction root@OpenWrt:~# echo 0 > /sys/class/gpio/export root@OpenWrt:~# echo out > /sys/class/gpio/gpio0/direction root@OpenWrt:~# echo 1 > /sys/class/gpio/export root@OpenWrt:~# echo out > /sys/class/gpio/gpio1/direction root@OpenWrt:~# echo 2 > /sys/class/gpio/export root@OpenWrt:~# echo out > /sys/class/gpio/gpio2/direction root@OpenWrt:~# echo 3 > /sys/class/gpio/export root@OpenWrt:~# echo out > /sys/class/gpio/gpio3/direction root@OpenWrt:~# echo 4 > /sys/class/gpio/export root@OpenWrt:~# echo out > /sys/class/gpio/gpio4/direction Mach is attached.
mach-tl-wr843n.ok0428
Description: Binary data
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel