Comments (6)
I fixed it by changing this line in the makefile:
gcc main.c -L"/usr/lib" -lusb-1.0 -o G930Sidetone
To this:
gcc main.c -L"/usr/lib" -lusb-1.0 -std=gnu99 -o G930Sidetone
On another note, on Mint at least, ./G930Sidetone must be run with sudo, or else I get the following errors:
Found Logitech G930!
libusbx: error [_get_usbfs_fd] libusbx couldn't open USB device /dev/bus/usb/002/004: Permission denied
libusbx: error [_get_usbfs_fd] libusbx requires write access to USB device nodes.
Failed to open USB device LIBUSB_ERROR_ACCESS
Couldn't claim Device[1] 17076 segmentation fault ./G930Sidetone 0
from headsetcontrol.
Seems like your compiler is using the old standard as default, I updated the makefile.
I also pushed a udev rule, so that it's possible to access the port without root permissions. Just type sudo make install to install it into the system.
from headsetcontrol.
Sounds good. Shouldn't sudo make install
also run the compiler?
I know this isn't what your software is set out to do, but would it at all be possible to change the "Bass" and "Treble" values that are exposed in the Logitech Gaming Software? If so, I would very much appreciate it if you could add that feature.
from headsetcontrol.
I think the software just applies an equalizer before it goes out to the headset. I don't think that the software sends the values to the headset and the headset applies it.
You can do exactly the same with pulseaudio: https://wiki.archlinux.org/index.php/PulseAudio#Equalizer
Just don't forget to set the equalizer to the default output in sound settings of the system.
from headsetcontrol.
Yeah that's what I thought, nevermind then.
I've been using pulseaudio-equalizer for a while, but it doesn't sound nearly as good as in Windows, which is quite a shame. I've played around with a bunch of different settings and the equalizer, but it's just not that good unfortunately.
from headsetcontrol.
Yes, I also noticed this. But I don't know how the software does it. In theory the same effect should be possible with pulseaudio (even when the stick does this "transformation"). But I guess the driver does some further mixing to make the sound more vibrant.
Maybe the driver uses a hrtf (5 channels emulation) even in stereo modus to give the music more "room".
You can try out hrtf filters: https://www.reddit.com/r/linux_gaming/comments/2ot5ov/enable_system_wide_hrtf_with_pulseaudio/
One advantage is that you then can get also 5.1 virtual sound to work.
My windows 10 driver doesn't seem to recognize the dolby switch any more, so I can't see if there are packets send when using that switch :( (this would show if the stick does this, or the driver). But it makes no sense anyway that the stick would do this (then why wouldn't it be just always on?).
from headsetcontrol.
Related Issues (20)
- 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
- 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
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.