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.
This commit is contained in:
Liav A 2024-01-07 22:03:52 +02:00 committed by Andrew Kaster
parent 2a5f66e4d8
commit b634792022

View file

@ -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)