Unsolved
This post is more than 5 years old
3 Posts
0
36215
June 5th, 2015 10:00
Problem with input source changing by the cmd and Dell Display Manager (ddm.exe)
I have two Dell displays.
I want to switch input source for 24'' from the my operatin system level (WIndows 8.1).
I'm using Dell Display Manager from command line like this:
ddm.exe /2:SetActiveInput DP (as my second monitor):
Now the problem is, that COMMAND LINE once working for "2" as a number of the 24'' monitor and once not.
24'' input source change once is working for "2", other once for "1".
How can I change it properly?
Is there any possibility to choose the ID of a monitor in deterministic way?
Example of usage:
COMPUTER 1 WITH HDMI1 c:> ddm.exe /2:SetActiveInput DP (working)
COMPUTER 2 WITH DP c:> ddm.exe /1:SetActiveInput HDMI (working)
COMPUTER 1 WITH HDMI1 c:> ddm.exe /2:SetActiveInput DP (not working)
COMPUTER 1 WITH HDMI1 c:> ddm.exe /reset
*must wait a while*
COMPUTER 1 WITH HDMI1 c:> ddm.exe /2:SetActiveInput DP (working)
Why numbers are changing after input source switching?
Windows keeps same numbers for all monitors all the time.



swamped1
234 Posts
0
June 6th, 2015 05:00
Two things here.
Windows supports all your monitors, enabled or not. DDM only supports some Dell monitors, which it numbers sequentially in the order they are found and they must be active in order for DDM to find and communicate with them. When you have 2 supported active Dell monitors, and you effectively disconnect the first monitor (by switching the active input), the second monitor becomes the only monitor connected and therefore becomes the first monitor where in Windows it might remain the second monitor.
But in your case, you seem to be effectively disconnecting the 2nd monitor, so when you reconnect it should come back as the 2nd monitor. The fact that things are corrected when you issue a manual rescan (I assume you mean rescan when you wrote "reset"?) suggests that you simply aren't waiting long enough for DDM to pick up the reconnected monitor automatically. Unless a hotplug event is generated, it could take DDM up to 60 seconds to *automatically* recognize a reconnected monitor. Try waiting instead of manually issuing a rescan at the command-line and see if this isn't so.
Freuds1
3 Posts
0
June 7th, 2015 01:00
One thing: how to get number of the monitor?
What is the order of all connected monitors?
Freuds1
3 Posts
0
June 7th, 2015 01:00
Okay.
It looks like this is it what you describe.
Thank You for suggestions - I will try.