If you can ssh into the system from another one then you can check up on stuff.
Do you see errors in sudo dmesg for USB?
What does lsusb report? Is the keyboard showing up?
Oh and it maybe worth chaging the USB port that the keyboard is plugged into to see if the problem is USB-port related.
Hey, did you try to change the usb power control? I think they did same bad updates for that. My wireless keyboard stopped working and hardly to wake it up. I change the power control from “auto” to “on” and it seems OK now.