diff options
author | Maxim Devaev <[email protected]> | 2023-08-04 00:37:41 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2023-08-04 00:37:41 +0300 |
commit | 318724e3ae43ee561892a29f4f3f075e81293d06 (patch) | |
tree | 10108d2052b79bb4cee47082dd48ca4f0cff2deb /configs/os/udev/v1-hdmiusb-rpi2.rules | |
parent | c96057772c8d845c90ad7429e51689eeffb63d71 (diff) |
v1
Diffstat (limited to 'configs/os/udev/v1-hdmiusb-rpi2.rules')
-rw-r--r-- | configs/os/udev/v1-hdmiusb-rpi2.rules | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/os/udev/v1-hdmiusb-rpi2.rules b/configs/os/udev/v1-hdmiusb-rpi2.rules new file mode 100644 index 00000000..eafd8ef8 --- /dev/null +++ b/configs/os/udev/v1-hdmiusb-rpi2.rules @@ -0,0 +1,3 @@ +# 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", PROGRAM="/usr/bin/kvmd-udev-hdmiusb-check rpi2 %b", ATTR{index}=="0", GROUP="kvmd", SYMLINK+="kvmd-video" |