On the left of dmesg's output, messages are timestamped (in seconds) since the boot. So if the keyboard stopped responding less than 100s ago, just read dmesg's output bottom-up until the difference to the last time is 100.

Reply via email to