Hi Flebourse,
I am unfamiliar with the reported feature as it is not in the feature documentation for Teltonika devices. So far, I have collected as much information from other sources as possible and tested this feature on a RUT955, essentially getting the same described issue scenario. I connected my mobile device to the external USB port, and even though I powered off the port, the device stilled charging. However, it does it at a lower charging rate.
Standard output:
https://community.teltonika-networks.com/?qa=blob&qa_blobid=14819898186850033600
Mobile connected:
https://community.teltonika-networks.com/?qa=blob&qa_blobid=7762346298353732251
Output after sending the power off command:
https://community.teltonika-networks.com/?qa=blob&qa_blobid=11195130166759090629
Mobile message after unplugging and plugging again to the USB port:
https://community.teltonika-networks.com/?qa=blob&qa_blobid=15160293317497751166
Reading the package GitHub documentation, I found a warning indicating this feature only works on USB hubs with the hardware necessary to allow software-controlled power switching because most hubs do not have such hardware. The documentation also shows a list of the Hubs known to work for verification purposes. Below is the Github link documentation:
https://github.com/codazoda/hub-ctrl.c/blob/master/README.md
So, please check your device Hub vendor by executing the following command in the Command-Line Interface: cat /sys/kernel/debug/usb/device:
https://community.teltonika-networks.com/?qa=blob&qa_blobid=17127032818094613268
Search for the USB2.0 Hub product and copy the vendor code and introduce it on this website:
https://devicehunt.com/
Select USB as type and introduce your vendor code. In my case, the vendor is Genesys Logic, INC. Then manually search for the Hub listed product on the website and look for any product match. For my part, I did find a manufacturer name match, but it is not the same listed device name:
https://community.teltonika-networks.com/?qa=blob&qa_blobid=5536109276244976513
https://community.teltonika-networks.com/?qa=blob&qa_blobid=12259854703746693759
Also, I found this other source for product and driver searching purposes:
https://linux-hardware.org/?view=search
Based on the information above, it seems the feature could be not working as expected due to hardware incompatibility. Please comment on this asked verification , and I will consult our internal staff for more related information about your query.
I hope this information has been helpful for you.