I'm using Ubuntu 20.04.3 LTS. As my laptop is quite dated and as I don't have an SSD, it takes a long time to boot into OS so I always leave the computer in suspend mode. Problem is about 1 of 5 times I switch on the PC from suspend mode, keyboard and mouse functions are gone after I hit the first key on my keyboard to enter my login password. As soon as I hit the first key, login password box is full of dots (like keyboard is stuck and fills the box with letters). In this case I need to go back to suspend mode (via touchscreen) and switch it on again.
Looking forward to hear your advice on this weird problem.