summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--PKGBUILD6
-rw-r--r--configs/os/udev/v2-hdmi-zerow.rules2
2 files changed, 3 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 3ab2e713..fcb1e52b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -130,11 +130,9 @@ for _variant in "${_variants[@]}"; do
if [[ $_platform =~ ^.*-hdmi$ ]]; then
depends=(\"\${depends[@]}\")
if [ $_board == rpi4 ]; then
- depends=(\"\${depends[@]}\" \"linux-raspberrypi4>=5.4.51\" \"linux-raspberrypi4-headers>=5.4.51\")
- elif [ $_board == rpi2 ] || [ $_board == rpi3 ]; then
- depends=(\"\${depends[@]}\" \"linux-raspberrypi>=5.4.51\" \"linux-raspberrypi-headers>=5.4.51\")
+ depends=(\"\${depends[@]}\" \"linux-raspberrypi4>=5.4.65\" \"linux-raspberrypi4-headers>=5.4.65\")
else
- depends=(\"\${depends[@]}\" \"linux-raspberrypi=4.19.118-1\" \"linux-raspberrypi-headers=4.19.118-1\")
+ depends=(\"\${depends[@]}\" \"linux-raspberrypi>=5.4.65\" \"linux-raspberrypi-headers>=5.4.65\")
fi
fi
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"