commit | ee09e3033a453565034b2b9bf4f2e0cbc8323ccd | [log] [tgz] |
---|---|---|
author | Jammy Huang <jammy_huang@aspeedtech.com> | Wed Nov 03 13:56:22 2021 +0800 |
committer | Jammy Huang <jammy_huang@aspeedtech.com> | Wed Nov 03 14:42:52 2021 +0800 |
tree | 75c4dffb0bab23de84d536babcaf556ee4ad3a61 | |
parent | f90f68d1e9bc6c53f49ebac6d0b8e11257de77a9 [diff] |
Fix kvm show disconnected if host successively changes resolution Video::resize() will throw execption if any ioctl failed and it leads to rfb server stopped. This is the root cause because VIDIOC_QUERY_DV_TIMINGS always could return error for no signal. If VIDIOC_QUERY_DV_TIMINGS failed, we can go restart() to avoid this problem. Tested: manually tested with the host which changes resolution quickly and successively. Signed-off-by: Jammy Huang <jammy_huang@aspeedtech.com> Change-Id: Ie613f177122b7058e19511a451e4dad9cb1dffbf
The obmc-ikvm application is a VNC server that provides access to the host graphics output. The application interfaces with the video device on the BMC that captures the host graphics, and then serves that video data on the RFB (remote framebuffer, also known as VNC) protocol. The application also interfaces with the BMC USB gadget device to pass HID events from the BMC to the host, allowing the user to interact with the host system.
Once the host is running and an appropriate HID gadget device is instantiated on the BMC, the application can be started with the following command: obmc-ikvm -v <video device path> -i <HID gadget device path>
For example:
obmc-ikvm -v /dev/video0 -i /dev/hidg0