mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-21 18:15:58 +00:00
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:
parent
2a5f66e4d8
commit
b634792022
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue