I tried the fixes available on the internet, of which I found two, but none of them worked.
1st: changing the /etc/default/grub, where GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" changes to GRUB_CMDLINE_LINUX_DEFAULT="quiet splash atkbd.reset" and then update-grub, then reboot
2nd:sudo apt update
sudo apt install xserver-xorg-input-all
Neither of the two worked, and I would really appreciate being able to use my keyboard, as much as I would appreciate some suggestions as to how to fix this issue. Thank you in advance.
EDIT: Tried this as well, didn't work.
sudoedit /etc/modprobe.d/blacklist-intel_vbtn.conf ------- where I wrote in
bug in module breaks keyboard, so don't load it
blacklist intel_vbtn
Even after blacklisting intel_vbtn, the command cat /sys/class/dmi/id/chassis_type gives me 10, and supposedly it should be either 31 or 32
PS: I forgot to mention one detail, the power button is the only one that works. Peculiar, do you not think so?
Thanks to everybody who at least thought about trying to answer this question. It suddenly started working today by itself. The only problem that I have now is that it keeps turning my microphone on and off when I press some keys on the keyboard. I don't suppose anybody here can figure this one out as well, but I'll mention it just in case.