PSA: Many 4K Dell monitors (like my Dell UltraSharp U3219Q ) have a built-in KVM switch and they support full DDC commands for switching the input as well (over HDMI, DP and USBC). I can control them from Mac and Linux with hot keys that trigger the appropriate ddc commands.
:~$ sudo ddcutil detect
Invalid display
I2C bus: /dev/i2c-1
EDID synopsis:
Mfg id: AUO
Model:
Serial number:
Manufacture year: 2009
EDID version: 1.3
DDC communication failed
This appears to be a laptop display. Laptop displays do not support DDC/CI.
Display 1
I2C bus: /dev/i2c-2
EDID synopsis:
Mfg id: DEL
Model: DELL U2415
Serial number: CFV9N94S0Y2S
Manufacture year: 2019
EDID version: 1.3
VCP version: 2.1