OK, thanks for quick testing. Let's try to narrow down the condition triggering the problem. When you reconnect the USB keyboard, does it start working again? And, it's only about the USB keyboard? If it's connected to a different port without KVM, does it still work after resume? Also, please check with evtest program whether the raw input event device responds, or it also doesn't report any inputs.