Skip to content

Fix hidraw linking by using static build and document all dependencies#171

Closed
Copilot wants to merge 2 commits intopush-wmokmzunyvwsfrom
copilot/sub-pr-165
Closed

Fix hidraw linking by using static build and document all dependencies#171
Copilot wants to merge 2 commits intopush-wmokmzunyvwsfrom
copilot/sub-pr-165

Conversation

Copy link

Copilot AI commented Feb 18, 2026

Addresses review feedback on #165: build failures due to missing hid_send_output_report symbol and incomplete dependency documentation.

Changes

  • Cargo.toml: Switch hidapi from linux-shared-hidraw to linux-static-hidraw

    • Ubuntu 24.04 ships libhidapi 0.14.0, but hid_send_output_report requires 0.15.0+
    • Static build compiles hidapi from source with required API
  • README.md: Document complete system dependency list

    • Added: libudev-dev, libdbus-1-dev, libsodium-dev, pkg-config
    • Previously only listed libhidapi-dev

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

- Changed hidapi feature from linux-shared-hidraw to linux-static-hidraw
- Added missing dependencies to README: libudev-dev, libdbus-1-dev, libsodium-dev, pkg-config
- Static build includes newer hidapi with hid_send_output_report function

Co-authored-by: AlfioEmanueleFresta <621062+AlfioEmanueleFresta@users.noreply.github.com>
Copy link
Author

Copilot AI commented Feb 18, 2026

Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details.

Copilot AI changed the title [WIP] Fix build issues and address feedback for hidraw library Fix hidraw linking by using static build and document all dependencies Feb 18, 2026
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

Comments