MT300N-v2 USB Port Control ( deactivate/shutdown)

Hello,

i´m use a MT300N-v2 (Version 3.102) and a Wildlife Cam.

If i connect the Cam via USB on the MT300N the Cam switch into the msdc mode (Mass Storage Mode) and i can copy the files (Pics/Vids). So far so good.

Unfortunately I will use the cam remote.

If the USB is connectet and the msdc mode is active the cam don´t work as cam.
Surveillance, record photo and Vids is not possible.

Now my question, is it possible to deactivate/shutdown the MT300N-v2 USB Port ?

The hub-ctrl -h 0 -P 1 -p 0 solution don´t work.

Thx

Ron

The USB port has a GPIO to control its power.

Check this post

OK , thx
/sys/class/gpio/usb/value

is the GPIO of the 3.102.
I try it later

it works !!!

on
echo “1”> /sys/class/gpio/usb/value

off
echo “0”> /sys/class/gpio/usb/value

THX

Ron

1 Like