Skip to content
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

Reset USB CDC transfers when the carrier disconnects #23

Open
nomis52 opened this issue Mar 6, 2015 · 1 comment
Open

Reset USB CDC transfers when the carrier disconnects #23

nomis52 opened this issue Mar 6, 2015 · 1 comment
Assignees
Labels

Comments

@nomis52
Copy link
Member

nomis52 commented Mar 6, 2015

Right now, if you have a console (minicom) open to the device and disconnect the CDC layer is left in a partially completed state. This means if you later reconnect a console it fails to work.

We can detect the carrier dropping but need a way to cancel the in flight read / write transfers.

@nomis52 nomis52 self-assigned this Mar 6, 2015
@peternewman peternewman added the bug label Mar 7, 2015
@nomis52
Copy link
Member Author

nomis52 commented Mar 7, 2015

USB_DEVICE_IRPCancelAll() doesn't work as I expect. There seems to be some internal state that isn't being reset correctly. See the comments on usb_console.c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants