not-jan / apex-tux

Linux support for the OLED screen of the Apex Pro, Apex 5 and Apex 7 keyboards by SteelSeries
The Unlicense
76 stars 15 forks source link

Permission denied #3

Closed Thomas-git closed 2 years ago

Thomas-git commented 2 years ago

The code from ToadKing to allow user usage don't works. However this one from Frank Grimm works:

SUBSYSTEM=="input", GROUP="input", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="1038", ATTRS{idProduct}=="1618", MODE="0666", GROUP="plugdev"
KERNEL=="hidraw*", ATTRS{idVendor}=="1038", ATTRS{idProduct}=="1618", MODE="0666", GROUP="plugdev"

SUBSYSTEM=="usb", ATTRS{idVendor}=="1038", ATTRS{idProduct}=="1612", MODE="0666", GROUP="plugdev"
KERNEL=="hidraw*", ATTRS{idVendor}=="1038", ATTRS{idProduct}=="1612", MODE="0666", GROUP="plugdev"

sudo cp 51-apex.rules /etc/udev/rules.d/51-apex.rules && sudo udevadm control --reload && sudo udevadm trigger

not-jan commented 2 years ago

Can you submit a PR for the README? Also this will not cover all Apex devices supported by this. You might be able to just get rid of the idProduct bit.

not-jan commented 2 years ago

I've updated the documentation now to include the repo you suggested.

Thomas-git commented 2 years ago

Thank you, I don't have much time right now to contribute