From d22333f7d17ec66407b81e0c9593da50e71ad823 Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Fri, 31 Jul 2020 06:53:33 +0300 Subject: partially fixed hdmiusb enumeration --- configs/os/udev/v0-hdmiusb-rpi2.rules | 2 +- configs/os/udev/v0-hdmiusb-rpi3.rules | 2 +- configs/os/udev/v2-hdmiusb-rpi4.rules | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'configs/os/udev') diff --git a/configs/os/udev/v0-hdmiusb-rpi2.rules b/configs/os/udev/v0-hdmiusb-rpi2.rules index dcbae9b8..ce6d1b3c 100644 --- a/configs/os/udev/v0-hdmiusb-rpi2.rules +++ b/configs/os/udev/v0-hdmiusb-rpi2.rules @@ -1,4 +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.5:1.0", GROUP="kvmd", SYMLINK+="kvmd-video" +KERNEL=="video[0-9]*", SUBSYSTEM=="video4linux", KERNELS=="1-1.5:1.0", ATTR{index}=="0", GROUP="kvmd", SYMLINK+="kvmd-video" KERNEL=="ttyAMA0", SYMLINK+="kvmd-hid" diff --git a/configs/os/udev/v0-hdmiusb-rpi3.rules b/configs/os/udev/v0-hdmiusb-rpi3.rules index dee441ff..cf0dd48d 100644 --- a/configs/os/udev/v0-hdmiusb-rpi3.rules +++ b/configs/os/udev/v0-hdmiusb-rpi3.rules @@ -1,4 +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.2:1.0", GROUP="kvmd", SYMLINK+="kvmd-video" +KERNEL=="video[0-9]*", SUBSYSTEM=="video4linux", KERNELS=="1-1.2:1.0", ATTR{index}=="0", GROUP="kvmd", SYMLINK+="kvmd-video" KERNEL=="ttyAMA0", SYMLINK+="kvmd-hid" 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" -- cgit v1.2.3