mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-13 01:30:31 +08:00
min kernel version is 5.4.65
This commit is contained in:
parent
fdb93d8f98
commit
1927904822
6
PKGBUILD
6
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
|
||||
|
||||
|
||||
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user