chmod222 / libcmmk

An unofficial LED control API for Coolermaster Masterkey keyboards
GNU Lesser General Public License v3.0
100 stars 23 forks source link

Udev-rule failed for me #26

Open xeor opened 4 years ago

xeor commented 4 years ago

For some reason, the udev rule in the doc SUBSYSTEM=="usb", ATTRS{idVendor}=="2516", MODE="0666" was not sufficient on my setup. It did not allow my user to use this lib. libcmmk was trying to use the /dev/hidraw* file, which still had perm 600.

Adding an udev-rule like this fixed my issue: SUBSYSTEM=="hidraw", ATTRS{idVendor}=="2516", MODE="0666"

I'm on manjaro/arch.