haimgel / display-switch

Turn a $30 USB switch into a full-featured multi-monitor KVM switch
https://haim.dev/posts/2020-07-28-dual-monitor-kvm/
MIT License
2.86k stars 112 forks source link

Failed to get current input #80

Open kurktchiev opened 2 years ago

kurktchiev commented 2 years ago

So i have one monitor (Acer Predator) with two DisplayPorts, 2 HDMI and 1 USB-C. I am able to specify the DP ports not problem with 1 and 2. Running on Hdmi1 though I keep getting this error:

16:29:30 [INFO] Configuration loaded ("/Users/valhalla/Library/Preferences/display-switch.ini"): Configuration { usb_device: "1532:0046", default_input_sources: InputSources { on_usb_connect: Some(Hdmi1(0x11)), on_usb_disconnect: None, on_usb_connect_execute: None, on_usb_disconnect_execute: None }, monitor1: None, monitor2: None, monitor3: None, monitor4: None, monitor5: None, monitor6: None }
16:29:30 [ERROR] Failed to get current input for display 'X34 GS S/N 288360628': Io(-536870206)

This is running on OS X 10.15.7 (19H1519)

jjordy commented 2 years ago

I am also having this issue when on the mac side of my setup. But I get a DDC Invalid Checksum Still trying to do more investigation into what's causing it but I suspect this monitor I am using is doing something strange.

bustamelon commented 1 year ago

Also using an Acer Predator here (34 GS) -- and I'm not able to set the USB-C input. README suggests that Type C input is usually self-identified as DisplayPort2, but what if there's already an actual DisplayPort2?