summaryrefslogtreecommitdiff
path: root/configs/os
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2019-12-21 19:01:52 +0300
committerDevaev Maxim <[email protected]>2019-12-21 19:01:52 +0300
commitdb505ec78ee725430b6c74b355b593e90c76392f (patch)
treed1c7fc75e5993b582295bada550b5148929963a3 /configs/os
parentf084671d30e396bab048262bb1a209004493dbf1 (diff)
udev fixes for v0 and v1 on rpi3
Diffstat (limited to 'configs/os')
-rw-r--r--configs/os/udev/v0-vga-rpi3.rules2
-rw-r--r--configs/os/udev/v1-vga-rpi3.rules4
2 files changed, 3 insertions, 3 deletions
diff --git a/configs/os/udev/v0-vga-rpi3.rules b/configs/os/udev/v0-vga-rpi3.rules
index c2945059..62cd0641 100644
--- a/configs/os/udev/v0-vga-rpi3.rules
+++ b/configs/os/udev/v0-vga-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.1.3:1.0", GROUP="kvmd", SYMLINK+="kvmd-video"
+KERNEL=="video[0-9]*", SUBSYSTEM=="video4linux", KERNELS=="1-1.1.3:1.0|1-1.3:1.0", GROUP="kvmd", SYMLINK+="kvmd-video"
KERNEL=="ttyAMA0", SYMLINK+="kvmd-hid"
diff --git a/configs/os/udev/v1-vga-rpi3.rules b/configs/os/udev/v1-vga-rpi3.rules
index c8e8f950..8bb563c7 100644
--- a/configs/os/udev/v1-vga-rpi3.rules
+++ b/configs/os/udev/v1-vga-rpi3.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.1.3:1.0", GROUP="kvmd", SYMLINK+="kvmd-video"
-KERNEL=="sd[a-z]", SUBSYSTEM=="block", KERNELS=="1-1.1.2:1.0", GROUP="kvmd", SYMLINK+="kvmd-msd"
+KERNEL=="video[0-9]*", SUBSYSTEM=="video4linux", KERNELS=="1-1.1.3:1.0|1-1.3:1.0", GROUP="kvmd", SYMLINK+="kvmd-video"
+KERNEL=="sd[a-z]", SUBSYSTEM=="block", KERNELS=="1-1.1.2:1.0|1-1.2:1.0", GROUP="kvmd", SYMLINK+="kvmd-msd"
KERNEL=="ttyAMA0", SYMLINK+="kvmd-hid"