Merge udev rules

Closes #279
This commit is contained in:
József Farkas
2017-04-08 21:08:54 +02:00
parent 0e0d2e45ba
commit 4b99fb213e
3 changed files with 3 additions and 5 deletions

7
rules/50-uhk60.rules Normal file
View File

@@ -0,0 +1,7 @@
# Ultimate Hacking Keyboard rules
# These are the udev rules for accessing the USB interfaces of the UHK as non-root users.
# Copy this file to /etc/udev/rules.d and physically reconnect the UHK afterwards.
# TODO: Restore VID to 16d0 for the latest prototype.
SUBSYSTEMS=="usb", ATTRS{idVendor}=="16d3", ATTRS{idProduct}=="05e[abcd]", MODE:="0666"
KERNEL=="ttyACM*", ATTRS{idVendor}=="16d3", ATTRS{idProduct}=="05ec", MODE:="0666", SYMLINK+="uhk-right-bootloader"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="15a2", ATTRS{idProduct}=="0073", MODE:="0666"