Hello
I used about 20 modem RUT955 for in-field monitoring.
No troubles with them, but some times the USB device attached become unresponsive and i have to go to the station, and just unplug/replug the device.
I am pretty sure the device is in fault, and i am looking for a solution to power off/on the usb port.
Rebooting the modem does NOT power off the usb port.
Do you have any suggestions ?
Patrice
Hello,
Could you please clarify if you are experiencing the same issue with all units or just one?
Additionally, could you specify which firmware version is installed on your RUT955? If it is not the latest version, 7.6.16, please update your device and check if the issue persists. The firmware can be downloaded here: RUT955 Firmware Downloads.
Let me know how it goes, and if the issue continues, I’ll assist you further.
Best regards,
NOT working
echo “1-1” | tee /sys/bus/usb/drivers/usb/unbind
Please, anyone has an idea of other an other way ?
As suggested by Marcello, i tried
- install python but it is to heavy for the 64MB flash
- echo 0 > /sys/bus/usb/devices/usb1/bConfigurationValue but has no effect
i m not even sure the usb power regulator has some shutdown pin, do you have some schematics ? maybe i can hook the enable power pin to the inside relay ?
Hello…
I don’t have a Teltonika with USB with me, at this moment…
Do you try phyton scripts to " reset " your USB?
Like " usb_resetter "?
Don’t know… Teltonika will support it? Can run this script? Need to be check.
also… Is there all linux commands inside of device?
maybe a bash script?
Look this… bash - Script to reset USB when unavailable - Stack Overflow
it is a simple script, write in bash, but must be correct to your device!
I found another answer for this kind of situation…
But… need to adapt the " path " of directory used by teltonika for USB tree.
You might try uhubctl, install it with:
opkg -e /etc/opkg/openwrt/distfeeds.conf update
opkg -e /etc/opkg/openwrt/distfeeds.conf install uhubctl
uhubctl -h for the options. Not sure if it works on the RUT955.
Thanks, but no luck,
root@RUT955:~# opkg -e /etc/opkg/openwrt/distfeeds.conf install uhubctl
Unknown package ‘uhubctl’.
uhubctl does not appear in opkg list !
Maybe i could find a binary, will have a look
The package may be in another repository. Try
opkg update; opkg install uhubctl
instead.
I manage to install uhubctl, via an other repository as adviced.
uhubctl -a off -l 1 -p 1 -f -R shows the port as being off , but in fact it is already powered.
Just in case, have you tried with --repeat ?
same effect
So there must be a hardware limitation on the device.
Does any one have a part of the schematic to confirm it is hard wired ?
Thanks
Hello @patrice ,
Apologies for a delay - I can indeed confirm that USB power cannot be controlled by software, as there is a hardware limitation.
Best regards,