summaryrefslogtreecommitdiff
path: root/configs/os/udev/v2-hdmiusb-rpi4.rules
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-07-31 06:53:33 +0300
committerDevaev Maxim <[email protected]>2020-07-31 06:53:33 +0300
commitd22333f7d17ec66407b81e0c9593da50e71ad823 (patch)
tree1db93f04539c6988478242d95fbdb1ad058e944c /configs/os/udev/v2-hdmiusb-rpi4.rules
parent5953604b6b4293a70f6fbb4682b2e81f8ec84cc4 (diff)
partially fixed hdmiusb enumeration
Diffstat (limited to 'configs/os/udev/v2-hdmiusb-rpi4.rules')
-rw-r--r--configs/os/udev/v2-hdmiusb-rpi4.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/os/udev/v2-hdmiusb-rpi4.rules b/configs/os/udev/v2-hdmiusb-rpi4.rules
index f6710ea8..1cdb3ca7 100644
--- a/configs/os/udev/v2-hdmiusb-rpi4.rules
+++ b/configs/os/udev/v2-hdmiusb-rpi4.rules
@@ -1,5 +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=="video[0-9]*", SUBSYSTEM=="video4linux", KERNELS=="1-1.4:1.0", ATTR{index}=="0", GROUP="kvmd", SYMLINK+="kvmd-video"
KERNEL=="hidg0", GROUP="kvmd", SYMLINK+="kvmd-hid-keyboard"
KERNEL=="hidg1", GROUP="kvmd", SYMLINK+="kvmd-hid-mouse"