summaryrefslogtreecommitdiff
path: root/os/platforms/v1/udev.rules
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-07-07 23:37:38 +0000
committerDevaev Maxim <[email protected]>2018-07-07 23:37:38 +0000
commit476018aeb82398afbf53d7a91e3b8e30ff0b2851 (patch)
treeb790400ed29205010d702266c7da40b16293e997 /os/platforms/v1/udev.rules
parentf9a69c7467229dc1bf864d374f252b0cc9017bcd (diff)
udev instead own bycicles
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"