wallneradam / tc420

Python Library and CLI for TC420 (USB) LED Controller / Dimmer
GNU General Public License v3.0
22 stars 8 forks source link

udev rules for Debian Bookworm incomplete #19

Open git-madresc opened 6 months ago

git-madresc commented 6 months ago

On Debian, you need to set permissions for the HID device, too:

KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="0888", ATTRS{idProduct}=="4000", MODE="0664", GROUP="plugdev"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0888", ATTRS{idProduct}=="4000", GROUP="plugdev", MODE="0664"

Then you need to trigger (i think) the systemd-udevd.service:

systemctl daemon-reload
udevadm control --reload-rules
udevadm trigger
schwabix-1311 commented 3 months ago

Since Adam apparently doesn't maintain this code any more, I want to invite you to send a PR to my fork https://github.com/schwabix-1311/tc420. It includes all pending PRs found in Adam's repo.

Please note PR #12 as it might interfere with your suggested change.