Skip to content

[comms] Devices send Reset signal when they reset #242

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 2 commits into from
Apr 30, 2025

Conversation

LLFourn
Copy link
Collaborator

@LLFourn LLFourn commented Apr 15, 2025

Weird bugs in the Linux kernel driver for ACM CDC devices was being triggered by our aggressive disconnect and reconnect for devices that had finished firmware upgrade. It happened so fast that data got corrupted somehow by the CDC ACM control message 2122030000000000. Now we only disconnect the port once the device has cleanly finished the upgrade and sent our reset signal.

@LLFourn LLFourn force-pushed the debug-firmware-digest branch from 954be5f to 42a3d38 Compare April 15, 2025 04:47
@nickfarrow nickfarrow force-pushed the debug-firmware-digest branch from d9913ec to e112409 Compare April 16, 2025 01:25
LLFourn added 2 commits April 30, 2025 13:08
Weird bugs in the Linux kernel driver for ACM CDC devices was being
triggered by our aggressive disconnect and reconnect for devices that
had finished firmware upgrade. It happened so fast that data got
corrupted somehow. Now we only disconnect the port once the device has
cleanly finished the upgrade and sent our reset signal.
@LLFourn LLFourn force-pushed the debug-firmware-digest branch from e112409 to 98ad4ef Compare April 30, 2025 03:09
@LLFourn
Copy link
Collaborator Author

LLFourn commented Apr 30, 2025

ACK 98ad4ef. I just got rid of an unused method @nickfarrow introduced in the last commit. Please approve and merge @nickfarrow.

@nickfarrow
Copy link
Member

Which unused method? Hard to see because of rebase + changes in same forcepush

@LLFourn LLFourn merged commit 939e6b8 into master Apr 30, 2025
6 checks passed
@LLFourn LLFourn deleted the debug-firmware-digest branch April 30, 2025 23:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy