Comments (4)
I had the exactly same issue. (Using G930 on Arch Linux with the latest master commit)
Git bisecting showed me that it was introduced in this commit: 46479a4
Further research lead me to this issue of hidapi: signal11/hidapi#305
Solution for me: Using libhidapi-hidraw instead of libhidapi-libusb. You can enforce this by applying this git patch (iff your distribution delivers the hidraw version of libhidapi. Otherwise you have to compile it yourself):
diff --git a/cmake_modules/Findhidapi.cmake b/cmake_modules/Findhidapi.cmake
index 86243fb..ac916e5 100644
--- a/cmake_modules/Findhidapi.cmake
+++ b/cmake_modules/Findhidapi.cmake
@@ -24,7 +24,7 @@
# http://www.boost.org/LICENSE_1_0.txt)
find_library(HIDAPI_LIBRARY
- NAMES hidapi hidapi-libusb)
+ NAMES hidapi-hidraw hidapi hidapi-libusb)
find_path(HIDAPI_INCLUDE_DIR
NAMES hidapi.h
from headsetcontrol.
Thanks, @Eusebius1920 I'll check it out and let you know.
from headsetcontrol.
Thank you @Eusebius1920
Actually I thought, that the CMake file uses hidraw, as die libusb implementation isn't a desired one. But I didn't look closely while implementing hidapi. Also I don't quite get, why the libusb implementation doesn't use the auto detach function, which would get rid of the problem.
Hidraw should be on all major distributions, you are welcome to make a pull request. However, is there a particular reason why you still have hidapi-ibusb
in the find_library directive?
from headsetcontrol.
I created a pull request and removed hidapi-libusb
from the directive. I thought you had some reasons for it in the first place, so i did not delete it.
from headsetcontrol.
Related Issues (20)
- HyperX Cloud 2 Wireless support HOT 1
- Arctis Nova 7X - inconsistent battery status
- Add support for SteelSeries Arctis 9X HOT 2
- 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 1
- 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
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.