summaryrefslogtreecommitdiff
path: root/configs/os/udev/v0-hdmi-rpi3.rules
diff options
context:
space:
mode:
Diffstat (limited to 'configs/os/udev/v0-hdmi-rpi3.rules')
-rw-r--r--configs/os/udev/v0-hdmi-rpi3.rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/configs/os/udev/v0-hdmi-rpi3.rules b/configs/os/udev/v0-hdmi-rpi3.rules
new file mode 100644
index 00000000..835b1fb4
--- /dev/null
+++ b/configs/os/udev/v0-hdmi-rpi3.rules
@@ -0,0 +1,4 @@
+# https://unix.stackexchange.com/questions/66901/how-to-bind-usb-device-under-a-static-name
+# https://wiki.archlinux.org/index.php/Udev#Setting_static_device_names
+KERNEL=="video[0-9]*", SUBSYSTEM=="video4linux", KERNELS=="3f801000.csi|3f801000.csi1", GROUP="kvmd", SYMLINK+="kvmd-video"
+KERNEL=="ttyAMA0", SYMLINK+="kvmd-hid"