mirror of https://github.com/acidanthera/audk.git
589d51df26
No need to check the interface protocol then conditionally setting, just set it to BOOT_PROTOCOL and check for error. This is what Linux does for HID devices as some don't follow the USB spec. One example is the Aspeed BMC HID keyboard device, which adds a massive boot delay without this patch as it doesn't respond to 'GetProtocolRequest'. Cc: Hao A Wu <hao.a.wu@intel.com> Cc: Ray Ni <ray.ni@intel.com> Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Signed-off-by: Sean Rhodes <sean@starlabs.systems> Reviewed-by: Hao A Wu <hao.a.wu@intel.com> |
||
---|---|---|
.. | ||
ComponentName.c | ||
EfiKey.c | ||
EfiKey.h | ||
KeyBoard.c | ||
KeyBoard.h | ||
UsbKbDxe.inf | ||
UsbKbDxe.uni | ||
UsbKbDxeExtra.uni |