mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-15 23:37:32 +03: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
Notes:
sideshowbarker
2024-07-17 01:11:48 +09:00
Author: https://github.com/supercomputer7 Commit: https://github.com/SerenityOS/serenity/commit/b634792022 Pull-request: https://github.com/SerenityOS/serenity/pull/22615 Issue: https://github.com/SerenityOS/serenity/issues/22599 Issue: https://github.com/SerenityOS/serenity/issues/22717
@ -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 New Issue
Block a user