Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ps2KbdCtrller: Make wait for SUCCESS after BAT non-fatal #3389

Merged
merged 1 commit into from
Oct 25, 2022

Conversation

Sean-StarLabs
Copy link
Contributor

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

Cc: Hao A Wu hao.a.wu@intel.com
Cc: Ray Ni <ray.ni@intel.com
Signed-off-by: Sean Rhodes sean@starlabs.systems
Signed-off-by: Matt DeVillier matt.devillier@gmail.com

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>
@niruiyu niruiyu added the push Auto push patch series in PR if all checks pass label Oct 25, 2022
@niruiyu niruiyu merged commit db2c226 into tianocore:master Oct 25, 2022
@Sean-StarLabs
Copy link
Contributor Author

Sean-StarLabs commented Oct 25, 2022 via email

@Sean-StarLabs Sean-StarLabs deleted the coreboot/17/keyboard_protocol branch September 19, 2023 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
push Auto push patch series in PR if all checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants