The main intention of this topic is to verify the right way to control the USB 2.0 output power (off | on) in Gli mini routers with GPIO
- First I read the Howto guide from Openwrt.org and tried the commands for GPIO6 (in case of the AR150 hardware):
echo 0 | echo 1 > /sys/class/gpio/gpio6/value
but I got the error:
-ash: can't create /sys/class/gpio/gpio6/value: nonexistent directory
- Then I found in this forum the way to control the USB Power through the led brightness value :
echo 0 | echo 255 > /sys/devices/platform/leds-gpio/leds/gl_ar150:usbpow/brightness
(in bold the related led label for usb power with syntax *:usbpow, which depends on each model)
These two commands workedHowever I have two questions:
Is the USB control always mapped to the led brightness value? for all GLi routers ?
Does the new MT300N-V2 have USB power control too ?