Branch: refs/heads/master Home: https://github.com/tianocore/edk2 Commit: 589d51df260465e2561979b8a988e77b0f32a6e8 https://github.com/tianocore/edk2/commit/589d51df260465e2561979b8a988e77b0f32a6e8 Author: Sean Rhodes <sean@starlabs.systems> Date: 2022-03-03 (Thu, 03 Mar 2022)
Changed paths: M MdeModulePkg/Bus/Usb/UsbKbDxe/KeyBoard.c Log Message: ----------- MdeModulePkg/Usb/Keyboard.c: Don't request protocol before setting 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...@intel.com> Cc: Ray Ni <ray...@intel.com> Signed-off-by: Matt DeVillier <matt.devill...@gmail.com> Signed-off-by: Patrick Rudolph <patrick.rudo...@9elements.com> Signed-off-by: Sean Rhodes <sean@starlabs.systems> Reviewed-by: Hao A Wu <hao.a...@intel.com> _______________________________________________ edk2-commits mailing list edk2-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-commits