[OpenWrt-Devel] Exhausted on finding a gpio for USB_POWER...

2012-04-28 Thread Vince Huang
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

Re: [OpenWrt-Devel] Exhausted on finding a gpio for USB_POWER...

2012-04-28 Thread Florian Fainelli
Hi, Le samedi 28 avril 2012 19:01:03, Vince Huang a écrit : 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

Re: [OpenWrt-Devel] Exhausted on finding a gpio for USB_POWER...

2012-04-28 Thread Hartmut Knaack
Hi, did you actually echo anything to /sys/class/gpio/gpioX/value? Vince Huang schrieb: 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

Re: [OpenWrt-Devel] Exhausted on finding a gpio for USB_POWER...

2012-04-28 Thread Vince Huang
Thanks,found it with echo in /sys/class/gpio/gpio4/direction My usb stick is recognized right after this. But I can't get usb initialize from mach!How to solve it? I've added these lines to mach: static void __init tl_wr843n_usb_setup(void) { /* enable power for the USB port */