summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--PKGBUILD1
-rw-r--r--configs/os/udev/common.rules3
2 files changed, 4 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 431a15de..9ae41123 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -213,6 +213,7 @@ for _variant in "${_variants[@]}"; do
fi
install -DTm644 configs/os/sysctl.conf \"\$pkgdir/etc/sysctl.d/99-kvmd.conf\"
+ install -DTm644 configs/os/udev/common.rules \"\$pkgdir/usr/lib/udev/rules.d/99-kvmd-common.rules\"
install -DTm644 configs/os/udev/$_platform-$_board.rules \"\$pkgdir/etc/udev/rules.d/99-kvmd.rules\"
install -DTm444 configs/kvmd/main/$_platform-$_board.yaml \"\$pkgdir/etc/kvmd/main.yaml\"
diff --git a/configs/os/udev/common.rules b/configs/os/udev/common.rules
new file mode 100644
index 00000000..9256fcfc
--- /dev/null
+++ b/configs/os/udev/common.rules
@@ -0,0 +1,3 @@
+# Here are described some bindings for PiKVM devices.
+# Do not edit this file.
+KERNEL=="ttyACM0", SUBSYSTEM=="tty", SUBSYSTEMS=="usb", ATTRS{idVendor}=="1209", ATTRS{idProduct}=="EDA3", SYMLINK+="kvmd-hid-bridge"