-
Notifications
You must be signed in to change notification settings - Fork 513
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
[rtl872x] fix usb high speed #2744
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This workaround doesn't fix the USB re-enumeration issue on my MSoM.
Platform: Mac
Steps to replicate:
- Connect both battery and USB, USB enumerates successfully
- Unlug USB cable while leaving the battery attached
- Re-connect USB, USB failed to re-enumerate
If I disconnected the USB connection from the terminal first, followed by going through step2 and step3, then it can re-enumerate successfully. It seams that the USB stack has some stale data after physical removal without interacting with host.
@XuGuohui Can you try now? |
Sorry. No luck 😢 |
Okay, time to try on a couple of different computers then. |
This is what Linux is reporting in lsusb:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Working well for me
b9a101e
to
20d5430
Compare
Updated the PR with a bunch more workarounds. |
20d5430
to
f861d41
Compare
Finally I cannot reproduce the issue 🎉 |
f861d41
to
8b5fa11
Compare
Description
Spend too much time on this, but surpisingly this particular mode makes re-enumeration work correctly.
Test with M SoM or P2 with battery: disconnect from USB/re-connect.