USB Power Cycle on AR150

Hi! I was wondering what would be the way to make this work on the AR150. I checked in the forums and found this topic:
I’m not sure how to modify it to use with my specific model. It’s not uncommon to have power outages in my location, so I would like it to reconnect via easytether when that happens, right now when it happens the connection is only restored if I unplug/plug the phone.
Any help will be greatly appreciated!

For AR150,

USB Power off

echo 0 > /sys/class/gpio/usb_power/value

USB Power on

echo 1 > /sys/class/gpio/usb_power/value

Working great! Thank you so much!

1 Like