diff --git a/rules/50-uhk-bootloader-write-access.rules b/rules/50-uhk-bootloader-write-access.rules deleted file mode 100644 index fd9ffa03..00000000 --- a/rules/50-uhk-bootloader-write-access.rules +++ /dev/null @@ -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" diff --git a/rules/50-uhk-write-access.rules b/rules/50-uhk60.rules similarity index 78% rename from rules/50-uhk-write-access.rules rename to rules/50-uhk60.rules index e86c7630..f19bd912 100644 --- a/rules/50-uhk-write-access.rules +++ b/rules/50-uhk60.rules @@ -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" diff --git a/rules/setup-rules.sh b/rules/setup-rules.sh index ed497b4a..4059fc2e 100755 --- a/rules/setup-rules.sh +++ b/rules/setup-rules.sh @@ -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