Skip to content

feat: auto-detect Notecard port by default via USB VID/PID#67

Draft
Bucknalla wants to merge 1 commit intomasterfrom
feat/auto-detect-notecard-port
Draft

feat: auto-detect Notecard port by default via USB VID/PID#67
Bucknalla wants to merge 1 commit intomasterfrom
feat/auto-detect-notecard-port

Conversation

@Bucknalla
Copy link
Collaborator

New installs no longer save a specific serial port to config. Instead, the port is left empty so note-go's built-in auto-detection (USB VID/PID 30A4:0001) finds the Notecard on each transaction. This means unplugging and reconnecting to a different USB port just works.

  • Default config uses empty port for auto-detect
  • Accept -port auto and NOTE_PORT=auto to re-enable auto-detect
  • Show auto-detect in config output and mark detected Notecard ports
  • Backfill resolved port in-memory after Open() for PCAP mode

New installs no longer save a specific serial port to config. Instead,
the port is left empty so note-go's built-in auto-detection (USB VID/PID
30A4:0001) finds the Notecard on each transaction. This means unplugging
and reconnecting to a different USB port just works.

- Default config uses empty port for auto-detect
- Accept `-port auto` and `NOTE_PORT=auto` to re-enable auto-detect
- Show `auto-detect` in config output and mark detected Notecard ports
- Backfill resolved port in-memory after Open() for PCAP mode

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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