added udev rules for huion tablet and backlight

This commit is contained in:
toerd 2018-11-22 18:16:05 +01:00
parent c2e6867ac7
commit 87020e7ab2
2 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1 @@
ACTION=="add",SUBSYSTEM=="usb",ATTRS{idVendor}=="256c",ATTRS{idProduct}=="006e",ENV{XAUTHORITY}="/home/toerd/.Xauthority",RUN+="/home/toerd/.dotfiles/huion/huion_udev.sh",MODE="0666",OWNER="toerd"

View File

@ -0,0 +1,3 @@
SUBSYSTEM=="backlight", ACTION=="add", \
RUN+="/bin/chgrp video %S%p/brightness", \
RUN+="/bin/chmod g+w %S%p/brightness"