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

USB Tuner Controller - Enhance Transfer Error Handling #1408

Closed
DSheirer opened this issue Jan 15, 2023 · 0 comments · Fixed by #1409
Closed

USB Tuner Controller - Enhance Transfer Error Handling #1408

DSheirer opened this issue Jan 15, 2023 · 0 comments · Fixed by #1409
Assignees
Milestone

Comments

@DSheirer
Copy link
Owner

Users are reporting that they're still having issues with USB tuners shutting down in error state, potentially due to transfer buffer handing errors.

Apply updates/enhancements to improve Transfer buffer error handling.

@DSheirer DSheirer added this to the Build 0.5.1 milestone Jan 15, 2023
@DSheirer DSheirer self-assigned this Jan 15, 2023
DSheirer pushed a commit that referenced this issue Jan 15, 2023
…d logging. When an error occurs while (re)submitting a transfer buffer to LibUsb to fill with sample data, the buffer is temporarily placed in an error queue. Upon successfully submitting the next transfer buffer, we attempt to resubmit a buffer from the error queue, so that we wait until the device can accept buffers before trying to resubmit. If all transfer buffers are exhausted because they are in the error queue, then the tuner gets shutdown with an error state ... there's really no way to recover at this point.
DSheirer added a commit that referenced this issue Jan 15, 2023
…d logging. When an error occurs while (re)submitting a transfer buffer to LibUsb to fill with sample data, the buffer is temporarily placed in an error queue. Upon successfully submitting the next transfer buffer, we attempt to resubmit a buffer from the error queue, so that we wait until the device can accept buffers before trying to resubmit. If all transfer buffers are exhausted because they are in the error queue, then the tuner gets shutdown with an error state ... there's really no way to recover at this point. (#1409)

Co-authored-by: Dennis Sheirer <[email protected]>
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 a pull request may close this issue.

1 participant