summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRushab Shah <[email protected]>2023-10-24 20:31:52 +0530
committerGitHub <[email protected]>2023-10-24 18:01:52 +0300
commitb21ccfbcc94759d6eeb94b4e5d044c814bce12f9 (patch)
tree2383e4813e7aead00f153fa697c828d74ddabfba
parentd5a6354331dcac16028390aaffcbb798d7180a88 (diff)
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 ```
-rwxr-xr-xscripts/kvmd-udev-hdmiusb-check2
1 files changed, 1 insertions, 1 deletions
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;;