diff --git a/packages/uhk-web/src/app/components/udev-rules/udev-rules.component.ts b/packages/uhk-web/src/app/components/udev-rules/udev-rules.component.ts index 7da33ed8..450a884f 100644 --- a/packages/uhk-web/src/app/components/udev-rules/udev-rules.component.ts +++ b/packages/uhk-web/src/app/components/udev-rules/udev-rules.component.ts @@ -11,8 +11,8 @@ export class UdevRulesComponent { # 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. 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" +SUBSYSTEMS=="usb", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="612[0-7]", TAG+="uaccess" +KERNEL=="hidraw*", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="612[0-7]", TAG+="uaccess" EOF udevadm trigger udevadm settle`; diff --git a/rules/50-uhk60.rules b/rules/50-uhk60.rules index 5f80aad0..567ced57 100644 --- a/rules/50-uhk60.rules +++ b/rules/50-uhk60.rules @@ -2,5 +2,5 @@ # 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. 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" +SUBSYSTEMS=="usb", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="612[0-7]", TAG+="uaccess" +KERNEL=="hidraw*", ATTRS{idVendor}=="1d50", ATTRS{idProduct}=="612[0-7]", TAG+="uaccess"