diff options
author | Devaev Maxim <[email protected]> | 2020-08-01 20:23:53 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-08-01 20:23:53 +0300 |
commit | bf461342e779c482e76f0e50db5c1572b0f508f5 (patch) | |
tree | 83f8783dc63d54886b39d4adab653dada26192ee | |
parent | 3e9f711946107d5cadd39d501d9fafe559321cc5 (diff) |
new kernel for rpi2 and rpi3
-rw-r--r-- | PKGBUILD | 2 | ||||
-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 |
5 files changed, 6 insertions, 4 deletions
@@ -132,6 +132,8 @@ for _variant in "${_variants[@]}"; do 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\") else depends=(\"\${depends[@]}\" \"linux-raspberrypi=4.19.118-1\" \"linux-raspberrypi-headers=4.19.118-1\") fi 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" |