PiKVM v4 has this: EDID - PiKVM Handbook where it can read the EDID information off the monitor connected to the HDMI out port and then apply that as its display identifiers.
Seeing that the Comet Pro also has an HDMI out port, would it be possible to do the same thing?
This is what I got when running this in the terminal:
root@glkvm:~# kvmd-edidconf
Manufacturer ID: LNX
Product ID: 0x7771 (30577)
Serial number: 0x01010101 (16843009)
Monitor name: PiKVM V3
Monitor serial: CAFEBABE
Audio: no
root@glkvm:~# kvmd-edidconf --import-display-ids
Traceback (most recent call last):
File "/usr/bin/kvmd-edidconf", line 9, in <module>
main()
File "/usr/lib/python3.12/site-packages/kvmd/apps/edidconf/__init__.py", line 166, in main
File "/usr/lib/python3.12/site-packages/kvmd/apps/edidconf/__init__.py", line 74, in _adopt_out2_ids
File "/usr/lib/python3.12/site-packages/kvmd/apps/edidconf/__init__.py", line 65, in _find_out2_edid_path
FileNotFoundError: [Errno 2] No such file or directory: '/dev/dri/by-path/platform-gpu-card'
root@glkvm:~#
Not really clear why it identifies as a PiKVM V3.
But is reading from the HDMI out port a matter of having the correct reference in the device tree?