cancel
Showing results for 
Search instead for 
Did you mean: 

PG39WCDM KVM Switch not Switching Keyboard/Mouse and Video

JezZzaH
Level 8

I have two PC''s connected to my new PG39WCDM Monitor, which I bought specifically as it has a built-in KVM. However, I cannot get the KVM switch to switch the input/output with a single button. When I switch the KVM, it only switches the Keyboard and Mouse to another port, but the video remains on the same PC. This means that I then have to manually switch the Video Input on the monitor, which is very cumbersome.  

I've also tried to setup the DisplayWidget, to use Keyboard Shortcuts, but that has the same limitation that you need to switch the KVM and the Video Input separately. 

Next, I tried to use the 'Customized Settings' but loading those settings, does not change the KVM or the Video Input (only the other video settings, such as brightness, saturation, etc.), so this does not work either.

The quickest way I have found now is to use the Shortcut Buttons and then assigning KVM and Input to two of those. Which now require me to press those buttons 'just' 7 times to switch from one PC to the other. 

Has anyone found a quicker way to do this? Ideally, by just pressing the Shortcut Button once?
If not, I really hope ASUS can fix this quickly in a Firmware Update as this is definitely not what I expect from a built-in KVM.

891 Views
2 ACCEPTED SOLUTIONS

Accepted Solutions

Ok let's cook

Here's a dropbox link. Unzip both files into the same folder and run InputChange.cmd. It should do its thing automatically with no fuss but please let me know either way.

 

EDIT: Updated some strings, I have a nagging suspicion it'll work when switching from the DP to the USB-C system but not the other way around, awaiting comments.

 

View solution in original post

Nice to know we don't need the timeouts anyway.

Regarding the issue when switching from USB-C to DP we could simply assume that the monitor is the only display connected to either system.
You can overwrite the previous InputChange.cdm with this one if that is the case.
If it isn't I'd need you to run 

windccutil.exe detect

on a terminal window in the USB-C system and either tell me or take note of the number to the left "generic display" or similar and edit the .cmd in that system so line 8 value for monindex

vermis_0-1721077500652.png

is that same number

View solution in original post

13 REPLIES 13

vermis
Level 9

If connecting the second computer's video output to the monitor's USB-C (and enabling smart-kvm which would allow you to just change video input in the OSD) isn't an option...

I could probably write a windows script that performs both actions when ran, to confirm it's possible I'd need you to send a file called pg39wcdm_xxxxx.json (x=random string) located in C:\Program Files (x86)\ASUS\DisplayWidgetCenter\VcpCache

Hi Vermis,

Thank you! I've now connected the second system via USB-C and have managed to get the auto-switching to work sometimes. I've enabled Smart-KVM through the OSD and then check it as well through the DisplayWidget Center. For some reason the SmartKVM feature seems to disable itself sometimes when viewed from the DisplayWidget Center. and when it show disabled there, the auto-switching of the Keyboard and Mouse don't seem to work. 

Perhaps unrelated, but I also do not get the application pushed automatically that should allow me to transfer files from one system to the other.

Does anyone else have that issue that the SmartKVM seems to disable itself when seen from the DisplayWidget Center?

JezZzaH
Level 8

Hi Vermis,

I have tested some more and in PBP Mode, everything works flawlessly, I can shift my to the other 'window' and control moves to that PC. However, I want my full screen to be used by one PC, and when I switch, the other PC should use the full screen. 

Still the only way to do that, is by manually changing the input and then manually changing the KVM (or vice versa). 
Would that Windows Script that you refer to potentially solve that?

Hey, sorry the other solution doesn't meet your needs.

If, by perusing that .json file, I find the expected VCP codes for DDC/CI commands then it will be able perform both actions (chaging KVM AND Input sources). Do note that you'd need to install the script in both computers in case that's an obstacle.

 

JezZzaH
Level 8

Hi Vermis,

I'm just very thankful that you are helping me with this. I've copied my .json file to a OneDrive, which you can download here: PG39WCDM_07ba5e6e.json

It would be absolutely fine to install it on both systems. 

Sup,

If I'm reading the correct codes and values, that file tells me that the last time you launched displaywidgetcenter, your KVM was set to auto and video input source was set to USB-C. If you can confirm that being the case, we can move on.
I'd now need you to tell me the KVM downstrean and video input that each computer will be using.

With a bit of luck we might get it right first try 🤞

JezZzaH
Level 8

Hi Vermis,
I just checked the setting that I currently use, which are as below.

  • Smart KVM=ON
  • Auto Input Detection=ON
  • Computer 1 (Gaming PC, running Win11) is using DisplayPort for the Display and USB-B for the Keyboard/Mouse
  • Computer 2 (Work PC running Win11) is using USB-C for both Video and Keyboard/Mouse

Please let me know if there is anything else that you need. I'm looking forward to do some testing and hope this will help many others.

Thank you again for all your help!

Ok let's cook

Here's a dropbox link. Unzip both files into the same folder and run InputChange.cmd. It should do its thing automatically with no fuss but please let me know either way.

 

EDIT: Updated some strings, I have a nagging suspicion it'll work when switching from the DP to the USB-C system but not the other way around, awaiting comments.

 

Wow! We're really getting somewhere now! You're spot on!
The  Display Input, Keyboard and Mouse all change over when I run it on the DP (Gaming) Computer.
It gives me these messages, but it works completely.

Monitor found: PG39WCDM (Index: 1)
ERROR: Invalid value for timeout (/T) specified. Valid range is -1 to 99999.
ERROR: Invalid value for timeout (/T) specified. Valid range is -1 to 99999.

When I run it on the USB-C (Work) Computer, it does indeed not work and I get this message:

Monitor not found.