s9 only supports a single report, first byte must be set to 0x0#260
Conversation
Owner
|
Good work!
Or also some change in the kernel regarding USB. Linux was/is actually very tolerable when not sending the absolutely correct package (ie it even accept it when sending the wrong length), while on the other hand Windows is very strict. Given the commit before on the file, it seems that indeed it was not correct from the beginning. Will merge it for now (but its always good if someone also tests it on some other OS). |
rpbaptist
pushed a commit
to rpbaptist/HeadsetControl
that referenced
this pull request
May 31, 2024
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.
System Information:
I wanted to retrieve battery percentage - kept timing out.
When debugging function
arctis_9_read_device_status,I found out that Report ID '20x0',
was the same as Report DATA '20x0'.
I changed the first byte to 0x0 and it worked.
I read online that the Report ID must be 0x0 for devices which only support a single report
http://hidapi-d.dpldocs.info/hidapi.bindings.hid_write.html
I went a step further and changed all bytes to 0x0 (and swapped some with the second byte), and this worked.
I sense there is perhaps some deprecation with newer versions of hidapi?