-
Notifications
You must be signed in to change notification settings - Fork 54
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
GadgetFS Looping does not reconnect when removed #75
Comments
Are you using the FunctionFs or the GadgetFS mode ? |
GadgetFS mode |
So finally got the debug information finally posting now. So I have more information to share. While running and connected we get these messages
Then repeats below: When we disconnect we get the messages:
Then we get these messages repeating Then when we plug in again we get these messages Then a repeat of this message 6 times total Then after we get this message and it just stops |
Can you try the functionfs mode ? |
Trying with FunctionFS mode right now. Works perfectly. Can unplug and plug it in anywhere else and connects right away with no issues. |
Hi,
On Compute Module 4, when you have a stable connection with a windows machine. If you remove the connection. Then plug it into a new pc or back into the same machine it will not reconnect.
I've traced it to in here
handle_ep0(usb_gadget * ctx)
. It seems to be going in an infinite loop on trying to reconnect with the timeout.tv_secThe text was updated successfully, but these errors were encountered: