Repository navigation
Fix Arctis 7 HID communication error on Windows - #616
Merged
Merged
Conversation
On Windows, interface 5 of the Arctis 7 dongle exposes three HID collections (0x000c:0x0001, 0xff43:0x0202, 0xff00:0x0001). Without a usage page, the first one (consumer control) is opened, writes fail and every command reports "HID communication error". Select the vendor collection 0xff43:0x0202 instead. Usage page is ignored on Linux/macOS. Fixes Sapd#588 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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.
Changes made
Fixes #588.
On Windows, interface 5 of the Arctis 7 (2019,
1038:12ad) dongle is split into three HID collections:0x000c:0x0001(consumer control)0xff43:0x0202(vendor)0xff00:0x0001(vendor)getCapabilityDetailonly setsinterface_id = 0x05, so hidapi opens Col01. Writes to it fail, and every command returnsHID communication error, matching the device dump in #588. This PR sets the usage page and usage to0xff43:0x0202, which is the collection that answers the0x06 0x18battery request. hidapi ignores usage page on Linux and macOS, so behavior there should be unchanged.Tested on Windows 11 with an Arctis 7 2019 (
1038:12ad) on 4.2.0 plus this patch:headsetcontrol -bnow returnsBATTERY_AVAILABLE, Level: 19%. Before, it returnedHID communication error.headsetcontrol -m(chatmix) now responds.0xff43:0x0202only. The other two collections rejected the write.Not verified: the other PIDs in this class (
0x1260,0x1252,0x1280). In #588, @fx02 reports the same error on0x1260, so they likely use the same layout. I couldn't confirm that.Checklist
🤖 Generated with Claude Code