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)
- 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
- Support for HyperX Cloud III (with wire) HOT 12
- Arctis 7 Pro - Battery Charge Level alway at 56%
- version 3.0.0 build failure in src/output.c with CMake HOT 3
- CORSAIR HS80 RGB Wireless Gaming Support HOT 2
- Add Volume Limiter Support HOT 5
- Add Eqalizer info to json output HOT 9
- URB Interupt / JBL Q810 HOT 1
- SteelSeries Arctis Nova 5 HOT 5
- Very quiet sidetone with Logitech G PRO X 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.