What do the settings i8042.nopnp=1 i8042.dumbkbd=1 do?
Assistant
The kernel boot parameters i8042.nopnp=1 and are options relating to the i8042 controller, which is the traditional PS/2 keyboard and mouse controller in many PCs.
User
How to set them in systemd-boot?
Assistant
To set the kernel parameters i8042.nopnp=1 i8042.dumbkbd=1 when using systemd-boot, you need to add them to the options line in your boot loader entry file.
Step-by-step guide
Locate your boot loader entry file
Systemd-boot entries are usually stored in:
/boot/loader/entries/
or if you are on some other layout:
/efi/loader/entries/
Inside this directory, you will find one or more .conf files, e.g., , , or .
User
Can I test them manually first?
Assistant
You cannot add or remove kernel parameters on a running system directly, since kernel command line parameters are only read during early boot. However, you can manually test these parameters in the next boot without permanently changing config files by temporarily editing the boot loader entry at boot time.
How to test i8042.nopnp=1 i8042.dumbkbd=1 manually with systemd-boot
Reboot your system.
When the systemd-boot menu appears (the boot menu with the list of OS entries), highlight the entry you want to boot (using arrow keys).
Press e (edit) to edit the boot entry temporarily.
In the edit screen, find the line starting with options.
i8042.dumbkbd=1
Context: i8042 Controller
The i8042 controller handles PS/2 keyboard and mouse input. Modern systems may optionally use Plug and Play (PnP) mechanisms to detect and configure devices connected through this controller.
Explanation of the Parameters
i8042.nopnp=1
This option disables Plug and Play (PnP) detection for the i8042 controller.
Normally, the kernel tries to detect and configure the keyboard and mouse ports dynamically using PnP.
Enabling nopnp=1 forces the kernel not to probe the controller for PnP devices and instead use fixed assumptions about port presence or rely on the BIOS configuration.
This can help with hardware or firmware that misbehaves during PnP probing or causes kernel input device initialization issues.
i8042.dumbkbd=1
This option tells the kernel to treat the keyboard as a "dumb" keyboard and do minimal initialization.
It disables some advanced keyboard controller commands and feature detection.
Useful for systems with buggy or non-standard PS/2 controllers/keyboards that cause problems when the kernel tries to initialize or identify features.
In essence, the keyboard driver operates in a very basic mode.
Why use these options?
To fix keyboard or mouse input problems, such as:
No keyboard or mouse input detected at all
Device freezing or hanging during boot due to problematic PS/2 controller probing
Kernel warnings or error messages related to i8042 during boot
Workarounds for old or unusual hardware setups that are incompatible with PnP detection
Summary
Parameter
Effect
i8042.nopnp=1
Disables PnP probing on the i8042 controller, forces static port config
i8042.dumbkbd=1
Treats the keyboard as a basic device, disables advanced keyboard init steps
Example usage in GRUB
Append to your kernel command line in /etc/default/grub or bootloader prompt:
i8042.nopnp=1 i8042.dumbkbd=1
Then update grub and reboot.
If you're experiencing PS/2 keyboard or mouse issues, trying these parameters can be a useful troubleshooting step.
arch.conf
linux.conf
mykernel.conf
Edit the relevant entry file
Suppose your entry file is /boot/loader/entries/arch.conf.
Open it in your favorite text editor with root privileges:
sudo nano /boot/loader/entries/arch.conf
Add the kernel parameters to the options line
Look for the line starting with options. It might look like this for example:
options root=UUID=xxxx-xxxx rw quiet
Append i8042.nopnp=1 i8042.dumbkbd=1 to this line, for example:
In nano, press Ctrl+O to save, and Ctrl+X to exit.
Reboot
sudo reboot
Your kernel will now boot with these parameters.
Summary example (entry file)
title Arch Linux
linux /vmlinuz-linux
initrd /initramfs-linux.img
options root=UUID=xxxx-xxxx rw quiet i8042.nopnp=1 i8042.dumbkbd=1
If you have multiple boot entries, be sure to modify the one you boot from. You can confirm the current entry by looking at the systemd-boot menu or the contents of /boot/loader/loader.conf.
If you want these parameters applied globally to all entries, you can add them to the default entry, or copy to each entry you boot from.
Let me know if you want help with a particular distribution or setup.
Add i8042.nopnp=1 i8042.dumbkbd=1 at the end of that line.
Press Ctrl+X or F10 (depending on your firmware/bootloader) to boot with the modified kernel command line.
Notes
This change is temporary and only affects this boot instance. The next reboot will use the default kernel parameters again.
This is useful for testing kernel parameters without risk.
If your firmware or systemd-boot does not support editing at the boot menu, alternatively you can temporarily edit the loader entry file (like /boot/loader/entries/arch.conf) before rebooting, then revert it if needed.
Let me know if you want me to help with a specific step or your boot menu doesn't show the edit option.