Hi Jae,
It works. Found one issue which is explained below.
I have applied below 3 patches:
I can confirm that:
1. KVM video appears fine in webui
2. All keyboard characters works fine.
3. Both mouse buttons works fine (with patch)
Now the issue is when host OS ( RHEL 7.5 in my case ) goes to power saving mode (black screen) after some N mins (depends on OS settings), looks like it does not accept the KVM HID events, it doesn't wake up from power saving mode through KVM. I see below error when this happens.
Mar 21 09:31:43 obmc-ikvm[1408]: Failed to query timings
Mar 21 09:31:43 kernel: aspeed-video 1e700000.video: Timed out; first mode detect
Mar 21 09:31:44 kernel: aspeed-video 1e700000.video: Timed out when stopping streaming
Mar 21 09:31:45 kernel: aspeed-video 1e700000.video: Timed out; first mode detect
Mar 21 09:31:46 kernel: aspeed-video 1e700000.video: Timed out; first mode detect
Mar 21 09:31:47 env[1408]: 21/03/2019 09:31:47 Sending rfbEncodingNewFBSize for resize to (640x480)
Mar 21 09:31:48 obmc-ikvm[1408]: Failed to query timings
Mar 21 09:31:49 kernel: aspeed-video 1e700000.video: Timed out; first mode detect
Mar 21 09:31:50 obmc-ikvm[1408]: Failed to query timings
Mar 21 09:31:51 kernel: aspeed-video 1e700000.video: Timed out; first mode detect
Mar 21 09:31:52 obmc-ikvm[1408]: Failed to query timings
Mar 21 09:31:53 kernel: aspeed-video 1e700000.video: Timed out; first mode detect
On this state, I used physical keyboard on the host OS to bring it back from power saving mode and I see KVM also comes back. I have also tried setting the power saving timeout to "never". It works fine.
To recreate this issue
1. Set power saving timeout to 1 min. (In RHEL 7.5, Settings > Power > Blank Screen)
2. Leave the host OS to idle for 1 min.
3. You will see screen goes black after 1 min and KVM stops responding.
Hope you understood the issue. Thanks for your support.