summaryrefslogtreecommitdiff
path: root/configs/os/udev/v2-hdmiusb-rpi4.rules
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-07-26 14:47:49 +0300
committerDevaev Maxim <[email protected]>2020-07-26 14:47:49 +0300
commitae92d3aafbbddec33cf1ea1bce47078b88838dab (patch)
treea6c701f7052c8f0976770d32aa292cef8957700e /configs/os/udev/v2-hdmiusb-rpi4.rules
parent8cb487014c2db9d8ec71615330c4b4a8a003f10a (diff)
usb dongle support for rpi4
Diffstat (limited to 'configs/os/udev/v2-hdmiusb-rpi4.rules')
-rw-r--r--configs/os/udev/v2-hdmiusb-rpi4.rules5
1 files changed, 5 insertions, 0 deletions
diff --git a/configs/os/udev/v2-hdmiusb-rpi4.rules b/configs/os/udev/v2-hdmiusb-rpi4.rules
new file mode 100644
index 00000000..f6710ea8
--- /dev/null
+++ b/configs/os/udev/v2-hdmiusb-rpi4.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=="1-1.4:1.0", GROUP="kvmd", SYMLINK+="kvmd-video"
+KERNEL=="hidg0", GROUP="kvmd", SYMLINK+="kvmd-hid-keyboard"
+KERNEL=="hidg1", GROUP="kvmd", SYMLINK+="kvmd-hid-mouse"