summaryrefslogtreecommitdiff
path: root/os/platforms/v1/udev.rules
diff options
context:
space:
mode:
Diffstat (limited to 'os/platforms/v1/udev.rules')
-rw-r--r--os/platforms/v1/udev.rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/os/platforms/v1/udev.rules b/os/platforms/v1/udev.rules
new file mode 100644
index 00000000..99cb0e45
--- /dev/null
+++ b/os/platforms/v1/udev.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=="1-1.3:1.0", SYMLINK+="kvmd-streamer"
+KERNEL=="sd[a-z]", SUBSYSTEM=="block", KERNELS=="1-1.4:1.0", SYMLINK+="kvmd-msd"