mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-08 16:41:55 +00:00
keyboard_8042: ensure key scanning on when keyboard enabled
BRANCH=none BUG=none TEST=Boot Windows in legacy mode and observe keyboard is working. Change-Id: Id203a8804b86e0fcfbb9974658f66e9bd2602151 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Signed-off-by: Stefan Reinauer <reinauer@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/722123 Tested-by: Stefan Reinauer <reinauer@google.com> Reviewed-by: Randall Spangler <rspangler@chromium.org>
This commit is contained in:
committed by
chrome-bot
parent
f9bd2c5546
commit
38d23e4af0
@@ -692,6 +692,8 @@ static int handle_keyboard_command(uint8_t command, uint8_t *output)
|
||||
|
||||
case I8042_ENA_KB:
|
||||
update_ctl_ram(0, read_ctl_ram(0) & ~I8042_KBD_DIS);
|
||||
keystroke_enable(1);
|
||||
keyboard_clear_buffer();
|
||||
break;
|
||||
|
||||
case I8042_READ_OUTPUT_PORT:
|
||||
|
||||
Reference in New Issue
Block a user