min kernel version is 5.4.65

This commit is contained in:
Devaev Maxim 2020-09-29 10:43:03 +03:00
parent fdb93d8f98
commit 1927904822
2 changed files with 3 additions and 5 deletions

View File

@ -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

View File

@ -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"