commit | 7cf1f1d43ef9b4c312bfb2c7c61514ca93a53ee6 | [log] [tgz] |
---|---|---|
author | Eddie James <eajames@linux.ibm.com> | Mon Sep 30 15:05:16 2019 -0500 |
committer | Eddie James <eajames@linux.ibm.com> | Mon Sep 30 15:05:16 2019 -0500 |
tree | eac9034475e6ace4d4584fe0ce3b3054b21fff16 | |
parent | f8e05e5c9c32eb5a08fbf71c3d221ef37f96ef18 [diff] |
Prevent excessive journal logging by wakeup signal When the application is waiting for timings, it restarts the video to try and get a signal. Part of this process sends a wake-up signal on the virtual keyboard and pointer in case host VGA has slept. But if the host is shut down, this causes repeated errors in the journal as the HID gadgets return errors. Fix this by consolidating the keyboard/pointer write functions and therefore closing the HID gadget file handles when the host is shut down, preventing further wake-up attempts until host returns. Change-Id: Id5fe484c976eccefa6a72393d4d6b2b301d28a1a Signed-off-by: Eddie James <eajames@linux.ibm.com>
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