After installing Fedora Linux 36 on my Fujitsu Lifebook U7410, the keyboard stopped working. I fixed it by editing the GRUB configuration.
Add the following line at the bottom of /etc/default/grub:
GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX i8042.reset i8042.nomux i8042.nopnp i8042.noloop"
After editing the file, regenerate the GRUB configuration:
grub2-mkconfig -o "$(readlink -e /etc/grub2.cfg)"
Now reboot.
Easier on current Fedora: grubby
Fedora’s own tool adds kernel options to every installed kernel, without editing files:
sudo grubby --update-kernel=ALL --args="i8042.reset i8042.nomux i8042.nopnp i8042.noloop"
sudo grubby --info=DEFAULT # check the "args" line
To remove them again: sudo grubby --update-kernel=ALL --remove-args="i8042.reset i8042.nomux i8042.nopnp i8042.noloop".