From bfbcd93160a7b63e97b8a5868c3a0b015795f77c Mon Sep 17 00:00:00 2001 From: Taylor Helsper Date: Sun, 14 Mar 2021 22:50:06 -0500 Subject: [PATCH] Add more udev rules --- LICENSE.md | 2 +- rootfs/standard/etc/udev/rules.d/51-hid-digitalbitbox.rules | 1 + rootfs/standard/etc/udev/rules.d/52-hid-digitalbitbox.rules | 1 + rootfs/standard/etc/udev/rules.d/53-hid-bitbox02.rules | 1 + rootfs/standard/etc/udev/rules.d/54-hid-bitbox02.rules | 1 + 5 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 rootfs/standard/etc/udev/rules.d/51-hid-digitalbitbox.rules create mode 100644 rootfs/standard/etc/udev/rules.d/52-hid-digitalbitbox.rules create mode 100644 rootfs/standard/etc/udev/rules.d/53-hid-bitbox02.rules create mode 100644 rootfs/standard/etc/udev/rules.d/54-hid-bitbox02.rules diff --git a/LICENSE.md b/LICENSE.md index 370b42cf..1dec8e63 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -339,7 +339,7 @@ Section 9 -- myNode License Additions following conditions: 1. Modifications remain public and can be merged back into the - main myNode repo. + main myNode repo without restriction. 2. Modifications to the licensing, product key, or access to premium features is prohibited. diff --git a/rootfs/standard/etc/udev/rules.d/51-hid-digitalbitbox.rules b/rootfs/standard/etc/udev/rules.d/51-hid-digitalbitbox.rules new file mode 100644 index 00000000..94c86203 --- /dev/null +++ b/rootfs/standard/etc/udev/rules.d/51-hid-digitalbitbox.rules @@ -0,0 +1 @@ +SUBSYSTEM=="usb", TAG+="uaccess", TAG+="udev-acl", SYMLINK+="dbb%n", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2402" diff --git a/rootfs/standard/etc/udev/rules.d/52-hid-digitalbitbox.rules b/rootfs/standard/etc/udev/rules.d/52-hid-digitalbitbox.rules new file mode 100644 index 00000000..84fe7172 --- /dev/null +++ b/rootfs/standard/etc/udev/rules.d/52-hid-digitalbitbox.rules @@ -0,0 +1 @@ +KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2402", TAG+="uaccess", TAG+="udev-acl", SYMLINK+="dbbf%n" diff --git a/rootfs/standard/etc/udev/rules.d/53-hid-bitbox02.rules b/rootfs/standard/etc/udev/rules.d/53-hid-bitbox02.rules new file mode 100644 index 00000000..2daffc03 --- /dev/null +++ b/rootfs/standard/etc/udev/rules.d/53-hid-bitbox02.rules @@ -0,0 +1 @@ +SUBSYSTEM=="usb", TAG+="uaccess", TAG+="udev-acl", SYMLINK+="bitbox02_%n", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2403" diff --git a/rootfs/standard/etc/udev/rules.d/54-hid-bitbox02.rules b/rootfs/standard/etc/udev/rules.d/54-hid-bitbox02.rules new file mode 100644 index 00000000..1b74e477 --- /dev/null +++ b/rootfs/standard/etc/udev/rules.d/54-hid-bitbox02.rules @@ -0,0 +1 @@ +KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2403", TAG+="uaccess", TAG+="udev-acl", SYMLINK+="bitbox02-%n"