mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 08:44: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
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue