From b63479202245b427e4c0540dfb38e6981ec56b2f Mon Sep 17 00:00:00 2001 From: Liav A Date: Sun, 7 Jan 2024 22:03:52 +0200 Subject: [PATCH] Kernel: Enable i8042 first port translation by default Without this, we have many issues with the keyboard, so enable this for now until this is figured out. --- Kernel/Boot/CommandLine.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Kernel/Boot/CommandLine.cpp b/Kernel/Boot/CommandLine.cpp index 221191eef5..4ae2740367 100644 --- a/Kernel/Boot/CommandLine.cpp +++ b/Kernel/Boot/CommandLine.cpp @@ -133,7 +133,8 @@ UNMAP_AFTER_INIT bool CommandLine::is_early_boot_console_disabled() const UNMAP_AFTER_INIT bool CommandLine::i8042_enable_first_port_translation() const { - auto value = lookup("i8042_first_port_translation"sv).value_or("off"sv); + // FIXME: Disable first port translation when the keyboard works OK. + auto value = lookup("i8042_first_port_translation"sv).value_or("on"sv); if (value == "off"sv) return false; if (value == "on"sv)