added udev rules for huion tablet and backlight

master
toerd 6 years ago
parent c2e6867ac7
commit 87020e7ab2

@ -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"

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