Live data from Hacker News

Display-switch: Turn a $30 USB switch into a full-featured multi-monitor KVM

github.com

81–90 of 155 posts

Re: Display-switch: Turn a $30 USB switch into a full-featured multi-monitor KVM

#81
Lunar (https://lunar.fyi) supports up to 3 hotkeys to switch input using DDC.

Also the functionality is completely free, the Pro license isn’t needed if you only switch inputs and occasionally adjust brightness or volume.

This might be a more comfortable solution if your monitor allows input switching through DDC.

https://static.lunar.fyi/img/input-key/1920_input-key.png

Re: Display-switch: Turn a $30 USB switch into a full-featured multi-monitor KVM

#82
post #74

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.

However, they're currently unobtanium. I've been wanting one to solve my working from home problem to allow me switch computers with the same setup.

Re: Display-switch: Turn a $30 USB switch into a full-featured multi-monitor KVM

#83
post #74

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.

record scratch

Whoah. How do I obtain these ddc commands on macOS?

Re: Display-switch: Turn a $30 USB switch into a full-featured multi-monitor KVM

#84
post #82
post #74

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.

However, they're currently unobtanium. I've been wanting one to solve my working from home problem to allow me switch computers with the same setup.

Which is unobtanium? I just ordered a Dell 4K from Amazon about 5 days ago and it got here in 3 days.

Re: Display-switch: Turn a $30 USB switch into a full-featured multi-monitor KVM

#86
post #74

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.

I wish I could search for this feature in online shops parameterized search.

Re: Display-switch: Turn a $30 USB switch into a full-featured multi-monitor KVM

#88
My shell-script solution I've been using for the last year or two:

  #!/bin/bash
  src="pc"
  while true; do
    lsusb -d 04d9:a0d1 >/dev/null  # Keyboard connected?
    ret=$?
    if [ $ret -eq 0 -a "$src" != "pc" ]; then
      src="pc"
      ddcutil --noverify setvcp 60 0x0f  # Switch monitor input to DP
    elif [ $ret -eq 1 -a "$src" = "pc" ]; then
      src="laptop"
      ddcutil --noverify setvcp 60 0x11  # Switch monitor input to HDMI
    fi
    sleep 1
  done

Re: Display-switch: Turn a $30 USB switch into a full-featured multi-monitor KVM

#89
post #77

I bought a fantastic curved Samsung monitor and it supports reading from the port that tells you the current input but not setting it. It also has the worst possible input switcher that cycles until it finds a valid input. I wish it were easier to hack on monitor firmware. I'd love to improve it.

It's quite infuriating when you have a display that changes input if it's not receiving and a source that switches off unless it's told the display is showing. You end up having to play a timing game to get both devices on at the same time before one of them turns off or changes.

I cannot guarantee I'd react quietly nor patiently should I be confronted to this.

I cannot guarantee that. At. All.

Re: Display-switch: Turn a $30 USB switch into a full-featured multi-monitor KVM

#90
post #82
post #74

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.

However, they're currently unobtanium. I've been wanting one to solve my working from home problem to allow me switch computers with the same setup.

Lenovo T32p-20 is also pretty good and not only obtainable (I obtained three just a couple days ago), but currently available at a discount.
Post reply on HN