summaryrefslogtreecommitdiff
path: root/configs/os/udev
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-11-08 17:20:06 +0300
committerDevaev Maxim <[email protected]>2019-11-08 17:20:06 +0300
commit976130bcd9ba2822428f5358efe5e9395b89a55f (patch)
treeab0380b7ffbc18a98a9c08c39324ebf4d6a69941 /configs/os/udev
parentfa40676136483dd287caf5df324ca429e5adbace (diff)
zerow configs
Diffstat (limited to 'configs/os/udev')
-rw-r--r--configs/os/udev/v2-hdmi-zerow.rules5
1 files changed, 5 insertions, 0 deletions
diff --git a/configs/os/udev/v2-hdmi-zerow.rules b/configs/os/udev/v2-hdmi-zerow.rules
new file mode 100644
index 00000000..25ad13de
--- /dev/null
+++ b/configs/os/udev/v2-hdmi-zerow.rules
@@ -0,0 +1,5 @@
+# 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=="20801000.csi|20801000.csi1", GROUP="kvmd", SYMLINK+="kvmd-video"
+KERNEL=="hidg0", GROUP="kvmd", SYMLINK+="kvmd-hid-keyboard"
+KERNEL=="hidg1", GROUP="kvmd", SYMLINK+="kvmd-hid-mouse"