Skip to content

Usbh attach debounce #3104

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

Merged
merged 5 commits into from
Apr 29, 2025
Merged

Usbh attach debounce #3104

merged 5 commits into from
Apr 29, 2025

Conversation

hathach
Copy link
Owner

@hathach hathach commented Apr 28, 2025

Describe the PR
usbh skip attach/remove event on the same roothub port while in debouncing delay. For hub since we don't poll the interrupt endpoint before debouncing, it should be good enough
remove the old logic detecting duplicated attach event, which should be filtered by the new debouncing.
remove dwc2 debouncing logic (which is now is done at usbh layer)

fix #3073

@hathach hathach merged commit 1a783b3 into master Apr 29, 2025
239 of 240 checks passed
@hathach hathach deleted the usbh-attach-debounce branch April 29, 2025 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Repeated hub connect events can leak devices
1 participant