cr1901 / swmon

Small command-line tool and GUI to switch monitor inputs from command line
MIT License
23 stars 0 forks source link

some monitors only seem to allow input switching when the PC is on the active input #2

Open bstreiff opened 3 months ago

bstreiff commented 3 months ago

I have two Dell U2412M monitors and a Dell E2417H. All three are connected to my PC via Displayport.

I can use swmon to change their inputs away from my PC (e.g., I can do swmon switch -m 2 vga1 to switch to VGA). However, once I do so, the monitor never shows up in swmon list nor can I change the input back via swmon switch; I have to use the front panel to change the input back. Once I change the active input back to Displayport, swmon is able to detect and control the monitor again.

As far as it seems, at least these two models of Dell monitors (and probably others of similar vintage?) only appear to respond to DDC on the active input, and ignore it on inactive inputs. My presumption is that this is a monitor firmware issue and that there's probably nothing that can be done about this in swmon, but is possibly worthy of a documentation note.

cr1901 commented 3 months ago

We probably need a database, similar to https://github.com/ddccontrol/ddccontrol-db, except license compatible (their database is GPL) and more focused (don't need all the options). Also, something more friendly to the Serde data model than XML :P?