Update udev rules based on the instructions of https://github.com/node-hid/node-hid/releases/tag/v0.7.2
This commit is contained in:
@@ -22,7 +22,9 @@ export class PrivilegeCheckerComponent implements OnInit, OnDestroy {
|
|||||||
# Ultimate Hacking Keyboard rules
|
# Ultimate Hacking Keyboard rules
|
||||||
# These are the udev rules for accessing the USB interfaces of the UHK as non-root users.
|
# 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.
|
# Copy this file to /etc/udev/rules.d and physically reconnect the UHK afterwards.
|
||||||
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="612[0-7]", MODE:="0666"
|
SUBSYSTEM=="input", GROUP="input", MODE="0666"
|
||||||
|
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="612[0-7]", MODE:="0666", GROUP="plugdev"
|
||||||
|
KERNEL=="hidraw*", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="612[0-7]", MODE="0666", GROUP="plugdev"
|
||||||
EOF
|
EOF
|
||||||
udevadm trigger
|
udevadm trigger
|
||||||
udevadm settle`;
|
udevadm settle`;
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
# Ultimate Hacking Keyboard rules
|
# Ultimate Hacking Keyboard rules
|
||||||
# These are the udev rules for accessing the USB interfaces of the UHK as non-root users.
|
# 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.
|
# Copy this file to /etc/udev/rules.d and physically reconnect the UHK afterwards.
|
||||||
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="612[0-7]", MODE:="0666"
|
SUBSYSTEM=="input", GROUP="input", MODE="0666"
|
||||||
|
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="612[0-7]", MODE:="0666", GROUP="plugdev"
|
||||||
|
KERNEL=="hidraw*", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="612[0-7]", MODE="0666", GROUP="plugdev"
|
||||||
|
|||||||
Reference in New Issue
Block a user