]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdCtrller.c
Ps2KbdCtrller: Make wait for SUCCESS after BAT non-fatal
authorMatt DeVillier <matt.devillier@gmail.com>
Wed, 26 May 2021 22:33:29 +0000 (17:33 -0500)
committerRay Ni <ray.ni@intel.com>
Tue, 25 Oct 2022 07:58:27 +0000 (15:58 +0800)
commitdb2c22633f3c761975d8f469a0e195d8b79e1287
tree275eefcacc08f89e910b598586feedad4f9625f2
parentfb493ac84ebc6860e1690770fb88183effadebfb
Ps2KbdCtrller: Make wait for SUCCESS after BAT non-fatal

Recent model Chromebooks only return ACK, but not
BAT_SUCCESS, which causes hanging and failed ps2k init.
To mitigate this, make the absence of BAT_SUCCESS reply
non-fatal, and reduce the no-reply timeout from 4s to 1s.

Tested on google/dracia and purism/librem_14

Acked-by: Hao A Wu <hao.a.wu@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KbdCtrller.c