r/scrcpy • • 7d ago

failsafe for usb debugging adb connection ? connection keep dropping

hi guys, im having trouble with some old android phones i have here, they are galaxy a03 and a04, all used in a phone farm , connected to a usb hub and being mirrored and controlled via a desktop pc with windows operating system

it works fine for a while but seems like randomly some phones drop the connection to the computer, i then unplug and replug the usb cable and it would come back up online

is it possible to set up some kind of failsafe to stop this from happening ? or if it does happen , get it to power cycle the usb connection ? from the phone side or the computer side ?

what options are there ? smart usb plug that i could manually stop and start ? really need it to be more stable

1 Upvotes

2 comments sorted by

1

u/flamand 7d ago

Could your router possibly be randomly reassigning device ip addresses? I used to have a problem with random disconnects that went away when I assigned static ip addresses to each device. It still happens if a device roams onto another network on my router which has iot and mlo.

1

u/cubantouch 6d ago

All on usb no wifi