Sapd / HeadsetControl

Sidetone and Battery status for Logitech G930, G533, G633, G933 SteelSeries Arctis 7/PRO 2019 and Corsair VOID (Pro) in Linux and MacOSX
GNU General Public License v3.0
1.44k stars 176 forks source link

Couldn't open device. #73

Closed KannstGarnichts closed 2 years ago

KannstGarnichts commented 4 years ago

~/HeadsetControl/build$ ./headsetcontrol -s 16 Found Logitech G633/G933/G935!

Couldn't open device.

Any solutions?

Sapd commented 4 years ago

Probably no permissions. Use sudo or install the respective udev rules by typing make install as stated in the README.

hosler commented 4 years ago

I needed to add my VOID product id to the udev rules: 0a1a

KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1b1c", ATTRS{idProduct}=="0a1a", TAG+="uaccess"

@KannstGarnichts you may need to add yours. you can fetch it with lsusb command

matzedings commented 4 years ago

Can confirm that permissions are not working even with sudo make install, I still need to use sudo.

If this is really due to udev rules, could you implement this into your code?


Edit: After a reboot, everything is working fine without sudo.

morhook commented 3 years ago

Had same issue as reporter! Fixed the same way. Thanks a lot! (I think we should close this issue)

Sapd commented 3 years ago

You need to type sudo udevadm control --reload-rules && sudo udevadm trigger to reload the rules without a reboot. I probably should include that hint into the install process.