Other than flashing the EC to the newest version, sometimes the keyboard functions stop working after the operating system is suspended. For example, this happens on Qubes 4.1 for me. I simply turn off or restart the laptop.
My keyboard is functioning perfectly otherwise.