Comments (19)
You can try this
HeadsetControl-Windows.zip
I just compiled it using msys2 and mingw. It runs fine without an headset, but as I don't have a headset here, I can't test it fully. So report back if it works or doesn't.
from headsetcontrol.
I get this output:
C:\Users\MyName\Downloads\HeadsetControl-Windows>HeadsetControl -s 0
Found Logitech g933-935 Wireless!
Failed to set sidetone. Error: -1: Incorrect function.
from headsetcontrol.
Same on my windows pc!
from headsetcontrol.
Could be that the size of the data is not correct.
See signal11/hidapi#135 Windows seems to be more strict.
In the download page of hidapi, there is a hidapi-externals.zip here. Download it and run the testgui. Then check what reportID 0x11
expects.
It is also a good idea to check the other features (LED and battery).
This is btw how I compiled:
- Install http://www.msys2.org and the packages it shows on the site with pacman
2.pacman -Su
3.pacman -S mingw-w64-x86_64-gcc mingw-w64-x86_64-cmake mingw-w64-x86_64-hidapi make git
- Open a new window of msys2, when asked, choose mingw 64 bit
- cd into the project and create a build folder and cd into it
cmake -G"MSYS Makefiles" ..
make
from headsetcontrol.
Could not get feature report from device. Error reported was: Incorrect function.
from headsetcontrol.
from headsetcontrol.
@RandomOofer
Try this with the 4 different endpoints in the GUI (connect each one of them beforehand).
For each of them, insert this 0x11,0xff,0x07,0x1a,20
and press Send Feature Report
from headsetcontrol.
Disabling voicemeeter got me further.
046d:0a87
0x11: Incorrect function
0xff: The parameter was incorrect
0x07: The parameter was incorrect
0x1a: The parameter was incorrect
20: The parameter was incorrect
from headsetcontrol.
Did you insert them one-by-one? You have to insert it as one line besides the button Send Feature Report and click this button. But make sure to try the different connections which you can select in the first box.
You can also try this:
0x11,0xff,0x07,0x1a,20,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
from headsetcontrol.
0x11,0xff,0x07,0x1a,20
didn't work on any, reporting Incorrect function.
0x11,0xff,0x07,0x1a,20,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0
, reporting incorrect function.
from headsetcontrol.
I think I have an idea, can you try this? (It will ask for sidetone level)
from headsetcontrol.
Enter wished sidetone level (100 max): 5
Try: 1
HID enumeration failure.
from headsetcontrol.
Ooops, I specified the wrong vendor/deviceid in code no surprise. Always a bit hard to do something like that remotely.
Binary with the correct deviceid:
HeadsetHidTest.zip
from headsetcontrol.
IT WORKED!
HeadsetHidTest.exe
Enter wished sidetone level (100 max): 0
Try: 1
Device - interface: 3 - usage_page: c
Failed Incorrect function.
Try: 2
Device - interface: 3 - usage_page: b
Failed Incorrect function.
Try: 3
Device - interface: 3 - usage_page: ff43
success!!
Try: 4
Device - interface: 3 - usage_page: ff00
Failed Incorrect function.
Try: 5
from headsetcontrol.
Ah then I wasn't wrong. For some reason, Windows uses a different endpoint by default. After my tests the interfaceId remains the same and the endpoint can only be distinguished by the variable usage_page. The correct endpoint for my old G930 was ff00. The correct for your device seems to be ff43.
Also I had to adjust the amount of bytes sent to the correct amount, as Windows is very strict here.
According to my tests, there are practically these errors:
- Incorrect function -> The endpoint is wrong, or the reportid (the first byte in the data) is wrong
- Wrong parameter -> Wrong amount of bytes sent or wrong bytes
Currently the software does not support searching for usage_page, so there is no quick fix. I will probably implement it soon after new year.
from headsetcontrol.
To add, that file you made keeps the sidetone even after restart.
from headsetcontrol.
I think that's because of Windows.
I now updated the software, you can now try this
headsetcontrol-win-rel.zip
from headsetcontrol.
Every function works. Also the sidetone settings being kept is lovely. Thank you for being so much assistance. You can ask me later if any new features need testing.
from headsetcontrol.
Thank you for testing! #62
from headsetcontrol.
Related Issues (20)
- Should \n be added to short output? HOT 2
- Feature request: get current sidetone level with -s HOT 2
- Support for Logitech G Pro X 2 HOT 6
- Is it possible to get your default sidetone level from somewhere? HOT 2
- Provide signed sources for releases HOT 2
- Corsair HS80 MAX WIRELESS support HOT 1
- Add option to check if headset is connected HOT 3
- Failed to set/request sidetone. Error: -1: ioctl (SFEATURE): Broken pipe HOT 3
- Possibility to add shortcuts with the G733 battery button
- Help with setting up Corsair HS55 Wireless HOT 2
- SteelSeries Arctis 9 not displaying battery when charging HOT 6
- Add support for Logitech H390 HOT 1
- error: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’ [-Werror=unused-result] HOT 2
- Add support for Logitech G435 HOT 9
- Not showing correct battery status HOT 2
- Can not execute any command without sudo privileges HOT 2
- Incorrect ChatMix help message HOT 1
- Integrate with D-Bus / Upower HOT 1
- Error during build HOT 1
- HyperX Cloud Core Wireless Support HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from headsetcontrol.