commit | 3b201f6961e3de80440384cb4f63822425bca9ec | [log] [tgz] |
---|---|---|
author | Neal Liu <neal_liu@aspeedtech.com> | Tue Jan 11 15:10:05 2022 +0800 |
committer | neal_liu <neal_liu@aspeedtech.com> | Thu Jan 13 02:12:17 2022 +0000 |
tree | 4a3eaccd82f5d5b394f54a1b6109249e5106e4d8 | |
parent | ee09e3033a453565034b2b9bf4f2e0cbc8323ccd [diff] |
Fix HID gadget device remote wakeup issue Enable Bit(6): Self-powered & Bit(5): Remote Wakeup to allow host users to decide whether HID gadget device can wakeup host or not. Host Controller would set REMOTE_WAKEUP feature before suspend, and the devices acked accordingly. Tested: Host can be waked up by HID device when KVM client is connected. Signed-off-by: Neal Liu <neal_liu@aspeedtech.com> Change-Id: Iddbc456a970226ebd1f419cc6ee4ac7dc8ab989f
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