From b21ccfbcc94759d6eeb94b4e5d044c814bce12f9 Mon Sep 17 00:00:00 2001 From: Rushab Shah Date: Tue, 24 Oct 2023 20:31:52 +0530 Subject: [PATCH] kvmd-udev-hdmiusb-check: Add support for rPi4 b rev 1.5 (#153) Adds support for the following new revision of the board: # tr < /proc/device-tree/model -d '\000' Raspberry Pi 4 Model B Rev 1.5 Without this, `/dev/video19` from the `rpivid_hevc` driver gets incorrectly linked to `/dev/kvmd-video` ```bash lrwxrwxrwx 1 root root 6 Sep 28 08:14 /dev/kvmd-video -> video19 ``` --- scripts/kvmd-udev-hdmiusb-check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/kvmd-udev-hdmiusb-check b/scripts/kvmd-udev-hdmiusb-check index 5b058b68..a30f855c 100755 --- a/scripts/kvmd-udev-hdmiusb-check +++ b/scripts/kvmd-udev-hdmiusb-check @@ -48,7 +48,7 @@ case "$board" in esac;; "rpi4") case "$model" in - "Raspberry Pi 4 Model B Rev 1.1" | "Raspberry Pi 4 Model B Rev 1.2" | "Raspberry Pi 4 Model B Rev 1.4") + "Raspberry Pi 4 Model B Rev 1.1" | "Raspberry Pi 4 Model B Rev 1.2" | "Raspberry Pi 4 Model B Rev 1.4" | "Raspberry Pi 4 Model B Rev 1.5") if [ "$port" == "1-1.4:1.0" ]; then exit 0; else exit 1; fi;; *) exit 0;; esac;;