Skip to content

Force shared Creator Micro HID access - #1327

Merged
edwin-zvs merged 1 commit into
mainfrom
creator-micro-connection-diagnostics
Sep 10, 2026
Merged

Force shared Creator Micro HID access#1327
edwin-zvs merged 1 commit into
mainfrom
creator-micro-connection-diagnostics

Conversation

@edwin-zvs

Copy link
Copy Markdown
Contributor

Summary

  • explicitly force hidapi shared mode immediately before every Creator Micro open attempt
  • centralize device selection/opening so the TUI and diagnostic use identical behavior
  • add a read-only creator-micro probe command that reports open mode and queries firmware version
  • document the probe and its non-destructive behavior

Root cause

With Work Louder Input closed and only one Construct TUI active, an out-of-process probe reported that the Creator Micro was already open exclusively. The current TUI was the only remaining user process holding it. Explicitly resetting hidapi's process-global open mode before each attempt prevents that ownership state.

Verification

  • cargo check -p construct-cli
  • cargo test -p construct-cli creator_micro -- --nocapture (8 passed)
  • cargo build
  • read-only probe accurately distinguishes the agent sandbox permission denial from out-of-process exclusive ownership

Hardware safety

The probe sends only sys.version and does not change firmware, keymaps, or lighting.

@edwin-zvs
edwin-zvs merged commit a0dbcaa into main Sep 10, 2026
1 check passed
@edwin-zvs
edwin-zvs deleted the creator-micro-connection-diagnostics branch September 10, 2026 04: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.

1 participant