The solution to this problem is given on this post, for everyone who has similar problems.
This post is quite old, but I found a way to fix the problem after trying for a while.
I will describe the problem itself, so maybe it will help other people with the same problem.
I started noticing the problem while using text editors, all of the sudden Zoom was happening while scrolling, and Key Function actions where happening, like if I was pressing the ctrl or alt key, it was getting really frustrating cause I wasn’t able to work as fast as I would normally do.
The problem happened on an HP Notebook, referenced as HP 15 ab-110la, but the problem can happen on certain computers that have a chip related to the i8042 controller.
To fix it, I tried a bunch of stuff by reading the documentation, and as you can see, took me about a month of pure reading.
Finally, after getting to understand the way the laptop’s keyboard interacts with the trackpad, I discovered that on certain models, the chip mentioned above, tries to update the status from the keyboard, so, I found out a way to avoid the system from trying to modify the keyboard status.
If you have the same problem, all you have to do is this:
Open a terminal and execute
sudo gedit /etc/default/grub
We use the sudo command because we need to save what we edit.
Once in there, you will see a line that says something like
GRUB_CMDLINE_LINUX_DEFAULT="quiet iommu=soft resume=UUID=7f3b359d-7d89-4b38-8dd7-03376b86d986"
Or something similar, at the end of that specific line, add the following
a function from the i8042 controller that -As said by the i8042.c file-
static bool i8042_dumbkbd; module_param_named(dumbkbd, i8042_dumbkbd, bool, 0); MODULE_PARM_DESC(dumbkbd, "Pretend that controller can only read data from keyboard");
that being said, what the function does, is to force the controller to only read what the keyboard sends, and not try to update the keyboard status itself, the bad side to it is that now, none of the signal LEDs work, so, if you turn the caps lock and it has a LED, you won’t be able to see it.
Now, save the document you just edited, and run the following command
sudo grub-mkconfig -o /boot/grub/grub.cfg
what this does, is generate a new grub.cfg file, so the boot parameters will work from start.
I hope this helps anyone with the same problem.
I’ve been having a problem related to keypresses coming from my computer, the keys sending signals are ctrl and alt. After doing many tests I saw that the key press is coming from the laptop’s keyboard, which lead me into thinking that it could be the i8042 driver, due to the fact that the computer has a trackpack connected to it.
Anyway, I’ve been trying to solve the problem for quite a while, but haven’t been able to fix it, and because of the fact that I have a secondary keyboard at work, I don’t quite need those keys working on the laptops keyboard, but I haven’t figured out how to do it yet, I already have the dispositive id.
The output from
⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ USB Optical Mouse id=13 [slave pointer (2)] ⎜ ↳ SynPS/2 Synaptics TouchPad id=15 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ↳ Power Button id=6 [slave keyboard (3)] ↳ Video Bus id=7 [slave keyboard (3)] ↳ Video Bus id=8 [slave keyboard (3)] ↳ Power Button id=9 [slave keyboard (3)] ↳ HP Truevision HD id=10 [slave keyboard (3)] ↳ Logitech Logitech G710 Keyboard id=11 [slave keyboard (3)] ↳ Logitech Logitech G710 Keyboard id=12 [slave keyboard (3)] ↳ AT Translated Set 2 keyboard id=14 [slave keyboard (3)] ↳ HP Wireless hotkeys id=16 [slave keyboard (3)] ↳ HP WMI hotkeys id=17 [slave keyboard (3)] ↳ USB Optical Mouse id=18 [slave keyboard (3)]
The problem itself comes from AT Translated Set 2 keyboard id=14, to find out I ran
xinput test 14 //id of the keyboard
And after using the computer for a while, I was scrolling down some text and the text zoomed in, so I went to the console to check for keypress, and, indeed, it gave me the code
keypress 37 keyrelease 37
which is the binded to ctrl key, for that specific keyboard.
I know it’s not a hardware problem, because the keyboard works perfectly fine on windows, also, I remember having the exact same problem some years ago with another computer, and I fixed it, but can’t quite remember how. I’ve been googling a lot, and I can’t seem to find anything related to it.
Anyways, I give up trying to fix it, and I want to know if there is a way to unbind ctrl and alt keys from that specific keyboard, and have them work on the Logitech g710 one.
Thanks a lot to everyone willing to help!