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

Error on detected switch #65

Open lordee opened 3 years ago

lordee commented 3 years ago

tail ~/.local/share/display-switch/display-switch.log 13:10:05 [DEBUG] (1) display_switch::display_control: Setting display 'ACI ROG PG279Q #ASPdawSVcBzd' to Hdmi1(0x11) 13:10:05 [ERROR] Failed to set display 'ACI ROG PG279Q #ASPdawSVcBzd' to Hdmi1(0x11) (I2c(Os { code: 5, kind: Other, message: "Input/output error" })) 13:10:05 [DEBUG] (1) display_switch::app: Detected device change. Removed device: "0c45:7638" 13:10:18 [DEBUG] (1) display_switch::app: Detected device change. Added device: "046d:c087" 13:10:18 [INFO] Monitored device ("046d:c087") is connected 13:10:18 [DEBUG] (1) display_switch::display_control: Setting display 'AOC 2379H AFYG49A001301' to DisplayPort1(0xf) 13:10:18 [INFO] Display 'AOC 2379H AFYG49A001301' set to DisplayPort1(0xf) 13:10:18 [DEBUG] (1) display_switch::display_control: Setting display 'ACI ROG PG279Q #ASPdawSVcBzd' to DisplayPort1(0xf) 13:10:18 [ERROR] Failed to set display 'ACI ROG PG279Q #ASPdawSVcBzd' to DisplayPort1(0xf) (I2c(Os { code: 5, kind: Other, message: "Input/output error" })) 13:10:18 [DEBUG] (1) display_switch::app: Detected device change. Added device: "0c45:7638"

My AOC monitor doesn't have a displayport connection and "succeeds" (maybe?) My PG279Q does have DP/HDMI, however it gets an error on each switch. Can I provide any more info than the above?