-
-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix 'no more updates from usbmuxd after the last device disconnects' problem #74
base: main
Are you sure you want to change the base?
Conversation
In many places in sonic-agent, according to the output of fmt in sib, are you sure that changing to logrus will not affect it? |
if you're worried, feel free to modify it to |
It will make some sonic-agent bugs, could you modify it to |
Could you be more specific where it might cause problems? |
Some places rely on the console output of sib to do relevant logic. Of course, this processing method is not good enough. If it is changed to logrus, it will take more time for the console output to be output, which may cause some Agent problems. |
then run |
could you show console output? I am busy now, sorry |
If all devices are disconnected for a long time, sib will wait forever if exponential backoff algorithm is used.
you should only see
|
Thank you very much for your help. I will test it again in the near future. |
Checklist
Description
When the last device disconnects, usbmuxd stops itself.
As a result, the 'sib devices listen' command (and any other function that uses usbmux listen function) no longer receives device status update.
Here's my workaround to this problem. Hope it helps.