I'm dealing with a pretty frustrating issue with my internal keyboard; it keeps typing random keys on its own, which is making my laptop almost unusable. I've got an external keyboard, so I'm looking to disable the internal one instead of shelling out for a new one. The problem got so severe that it got stuck on the Windows key, and now I can't type or interact with any applications until I restart the laptop. I tried some options I found, including using `libinput` to write a udev rule, but that didn't work out for me. I also attempted to disable the internal keyboard physically, but that caused issues with my power button since it's part of the same board. I'm using Ubuntu 22.04 LTS and really need some help to resolve this. Any advice?
2 Answers
Just to add to what TechWhizKid mentioned, when using the `i8042.nokbd` option, it's generally effective for disabling the keyboard if it's connected via the PS/2 controller. You might still want to confirm how your internal keyboard is connected so you can be sure this works without affecting your power button. It’s also worth checking the parameters in the kernel documentation.
You might want to try adding the `i8042.nokbd` kernel parameter. This can help disable the internal keyboard without affecting your external one. Make sure to check your GRUB configuration to add it properly. Let me know if you need help with that!
Does this also disable the power button since it's part of the internal keyboard?
Will that also prevent the power button from working since it’s integrated?