diff options
author | Devaev Maxim <[email protected]> | 2020-05-05 21:16:39 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-05-05 21:16:39 +0300 |
commit | 3de0c0830183a1e44959c073ff1fbb0d924670de (patch) | |
tree | 00424d2d6875c8f1ab7767b0877230df1efd12e9 | |
parent | 67c7b3756af23b8dccd18fb2697bb081eb3116f7 (diff) |
fixed udev rules for unicam-image
-rw-r--r-- | configs/os/udev/v0-hdmi-rpi2.rules | 2 | ||||
-rw-r--r-- | configs/os/udev/v0-hdmi-rpi3.rules | 2 | ||||
-rw-r--r-- | configs/os/udev/v1-hdmi-rpi2.rules | 2 | ||||
-rw-r--r-- | configs/os/udev/v1-hdmi-rpi3.rules | 2 | ||||
-rw-r--r-- | configs/os/udev/v2-hdmi-rpi4.rules | 2 | ||||
-rw-r--r-- | configs/os/udev/v2-hdmi-zerow.rules | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/configs/os/udev/v0-hdmi-rpi2.rules b/configs/os/udev/v0-hdmi-rpi2.rules index f4c033da..e60aa798 100644 --- a/configs/os/udev/v0-hdmi-rpi2.rules +++ b/configs/os/udev/v0-hdmi-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=="3f801000.csi|3f801000.csi1", GROUP="kvmd", SYMLINK+="kvmd-video", TAG+="systemd" +KERNEL=="video[0-9]*", SUBSYSTEM=="video4linux", KERNELS=="3f801000.csi|3f801000.csi1", ATTR{name}=="unicam-image", GROUP="kvmd", SYMLINK+="kvmd-video", TAG+="systemd" KERNEL=="ttyAMA0", SYMLINK+="kvmd-hid" diff --git a/configs/os/udev/v0-hdmi-rpi3.rules b/configs/os/udev/v0-hdmi-rpi3.rules index f4c033da..e60aa798 100644 --- a/configs/os/udev/v0-hdmi-rpi3.rules +++ b/configs/os/udev/v0-hdmi-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=="3f801000.csi|3f801000.csi1", GROUP="kvmd", SYMLINK+="kvmd-video", TAG+="systemd" +KERNEL=="video[0-9]*", SUBSYSTEM=="video4linux", KERNELS=="3f801000.csi|3f801000.csi1", ATTR{name}=="unicam-image", GROUP="kvmd", SYMLINK+="kvmd-video", TAG+="systemd" KERNEL=="ttyAMA0", SYMLINK+="kvmd-hid" diff --git a/configs/os/udev/v1-hdmi-rpi2.rules b/configs/os/udev/v1-hdmi-rpi2.rules index 656d9a68..f17317dd 100644 --- a/configs/os/udev/v1-hdmi-rpi2.rules +++ b/configs/os/udev/v1-hdmi-rpi2.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=="3f801000.csi|3f801000.csi1", GROUP="kvmd", SYMLINK+="kvmd-video", TAG+="systemd" +KERNEL=="video[0-9]*", SUBSYSTEM=="video4linux", KERNELS=="3f801000.csi|3f801000.csi1", ATTR{name}=="unicam-image", GROUP="kvmd", SYMLINK+="kvmd-video", TAG+="systemd" KERNEL=="sd[a-z]", SUBSYSTEM=="block", KERNELS=="1-1.4:1.0", GROUP="kvmd", SYMLINK+="kvmd-msd" KERNEL=="ttyAMA0", SYMLINK+="kvmd-hid" diff --git a/configs/os/udev/v1-hdmi-rpi3.rules b/configs/os/udev/v1-hdmi-rpi3.rules index a05353eb..f267094f 100644 --- a/configs/os/udev/v1-hdmi-rpi3.rules +++ b/configs/os/udev/v1-hdmi-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=="3f801000.csi|3f801000.csi1", GROUP="kvmd", SYMLINK+="kvmd-video", TAG+="systemd" +KERNEL=="video[0-9]*", SUBSYSTEM=="video4linux", KERNELS=="3f801000.csi|3f801000.csi1", ATTR{name}=="unicam-image", GROUP="kvmd", SYMLINK+="kvmd-video", TAG+="systemd" KERNEL=="sd[a-z]", SUBSYSTEM=="block", KERNELS=="1-1.1.2:1.0", GROUP="kvmd", SYMLINK+="kvmd-msd" KERNEL=="ttyAMA0", SYMLINK+="kvmd-hid" diff --git a/configs/os/udev/v2-hdmi-rpi4.rules b/configs/os/udev/v2-hdmi-rpi4.rules index 2cc1cd24..b6568892 100644 --- a/configs/os/udev/v2-hdmi-rpi4.rules +++ b/configs/os/udev/v2-hdmi-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=="fe801000.csi|fe801000.csi1", GROUP="kvmd", SYMLINK+="kvmd-video", TAG+="systemd" +KERNEL=="video[0-9]*", SUBSYSTEM=="video4linux", KERNELS=="fe801000.csi|fe801000.csi1", ATTR{name}=="unicam-image", GROUP="kvmd", SYMLINK+="kvmd-video", TAG+="systemd" KERNEL=="hidg0", GROUP="kvmd", SYMLINK+="kvmd-hid-keyboard" KERNEL=="hidg1", GROUP="kvmd", SYMLINK+="kvmd-hid-mouse" diff --git a/configs/os/udev/v2-hdmi-zerow.rules b/configs/os/udev/v2-hdmi-zerow.rules index 35010801..d1b8d0bd 100644 --- a/configs/os/udev/v2-hdmi-zerow.rules +++ b/configs/os/udev/v2-hdmi-zerow.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=="20801000.csi|20801000.csi1", GROUP="kvmd", SYMLINK+="kvmd-video", TAG+="systemd" +KERNEL=="video[0-9]*", SUBSYSTEM=="video4linux", KERNELS=="20801000.csi|20801000.csi1", ATTR{name}=="unicam-image", GROUP="kvmd", SYMLINK+="kvmd-video", TAG+="systemd" KERNEL=="hidg0", GROUP="kvmd", SYMLINK+="kvmd-hid-keyboard" KERNEL=="hidg1", GROUP="kvmd", SYMLINK+="kvmd-hid-mouse" |