summaryrefslogtreecommitdiff
path: root/configs/os/udev/v0-vga-rpi2.rules
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-05-21 04:38:21 +0300
committerDevaev Maxim <[email protected]>2019-05-21 04:38:21 +0300
commitb9e6ffee9756dadb769dc6391d8cd1e6570e4632 (patch)
tree82c9f3ab014f57a4569de9c030050e6880750f9e /configs/os/udev/v0-vga-rpi2.rules
parentd5d07c48c0f7c4bdf51f330d976de3cab86bb069 (diff)
v0 configs
Diffstat (limited to 'configs/os/udev/v0-vga-rpi2.rules')
-rw-r--r--configs/os/udev/v0-vga-rpi2.rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/configs/os/udev/v0-vga-rpi2.rules b/configs/os/udev/v0-vga-rpi2.rules
new file mode 100644
index 00000000..026a3694
--- /dev/null
+++ b/configs/os/udev/v0-vga-rpi2.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", GROUP="kvmd", SYMLINK+="kvmd-video"
+KERNEL=="ttyAMA0", SYMLINK+="kvmd-hid"