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
```
This commit is contained in:
Rushab Shah 2023-10-24 20:31:52 +05:30 committed by GitHub
parent d5a6354331
commit b21ccfbcc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,7 +48,7 @@ case "$board" in
esac;; esac;;
"rpi4") "rpi4")
case "$model" in 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;; if [ "$port" == "1-1.4:1.0" ]; then exit 0; else exit 1; fi;;
*) exit 0;; *) exit 0;;
esac;; esac;;