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

View File

@@ -1,4 +0,0 @@
# 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}=="15a2", ATTRS{idProduct}=="0073", MODE:="0666"

View File

@@ -1,5 +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"

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
cd $(dirname $0)
cp 50-uhk-write-access.rules /etc/udev/rules.d
cp 50-uhk60.rules /etc/udev/rules.d
udevadm trigger
udevadm settle