Repository navigation
Fix: a trial reports itself running or rolled back only once a USB function has reconnected - #2486
Merged
Merged
Conversation
…nction has reconnected A USB Audio trial takes the unit off USB a second after it starts and after it ends. The procedure's soak started at once and lost its link 0.8 s in, and the Part put-back after it found the unit away (0.4.2 on a development twin, 27 November 2026; again 0.4.3 on a 0.8.5 twin, 30 November 2026). trial() now waits, at most 40 s, until the base's USB function (request 41) is settled on what the modules ask for; the serve gives a try or remove those 40 s too. Written on 27 November (cbcd00b70) after #2306 had merged, so it never reached main. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix: a module trial reports itself running, or rolled back, only once the Octatrack is back on USB. Ready for review.
device.mjs'strial()now waits (at most 40 s) until the base's USB function (vendor request 41) has settled, prints "USB function settled after N s", and the serve gives atryorremovethose 40 s too. With it, the test procedure ran USB Audio 0.4.3's soak and price on the unit (30 November 2026, USB Audio 0.4.3-experimental: recording costs less CPU, and almost nothing at rest #2462).5ac74d69of base 0.8.5): the soak and the price passed, where without it the soak lost its link 0.9 s after the install.The owner wrote this on 27 November 2026 (
cbcd00b70onfix/device-report-away) after #2306 had merged, so it never reached main; this lands it unchanged with a new changelog entry.Tested on a unit: not a device-code change; the test tool ran on the owner's MKII as above.
What the guides lacked or got wrong: nothing; the fix was left behind on a merged branch.
🤖 Generated with Claude Code