Skip to content

Conversation

@dehanj
Copy link
Member

@dehanj dehanj commented Sep 26, 2025

Description

Adds the features to:

  • Enumerate all connected HID devices
  • Scan after a specific VID/PID device, and optionally continue to scan and open the port if it is found.

Type of change

Please tick any that are relevant to this PR and remove any that aren't.

  • Feature (non breaking change which adds functionality)

Submission checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my changes
  • My changes are well written and CI is passing
  • I have squashed my work to relevant commits and rebased on main for linear history
  • I have added a "Co-authored-by: x" if several people contributed, either pair programming or by squashing commits from different authors.
  • I have updated the documentation where relevant (readme, dev.tillitis.se etc.)
  • QEMU is updated to reflect changes

Optionally retry the scan every second, and connect as soon as it is
found.
@dehanj dehanj requested review from agren and mchack-work September 26, 2025 12:40
@dehanj
Copy link
Member Author

dehanj commented Sep 29, 2025

One thing I realize it does not handle, is if there is multiple available HID ports with a specific vid and pid. Now it will use the last it finds.

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.

2 participants