commit | 4749f934f199ae257dba48891a47eade5307c828 | [log] [tgz] |
---|---|---|
author | Eddie James <eajames@linux.ibm.com> | Thu Apr 18 11:06:39 2019 -0500 |
committer | Eddie James <eajames@linux.ibm.com> | Thu Apr 18 12:51:47 2019 -0500 |
tree | 263135e861bb4155f8b7df742a9d4e95a0fd8acb | |
parent | 63c3ea18c3ad560fb30d952e37a084c9d730b78a [diff] |
Switch pointer gadget to non-blocking Writes to the pointer gadget can hang if the host has no cursor. Using non-blocking mode prevents this hanging. Also prevent repeated error logging due to pointer write failures in this case. Change-Id: I9c423a4a0af4b37a69ae20650b86a6266e5b4b41 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