Hi, Richa Rd!
Are You using the default locale? Do You define any keymap in the bootcodes string, or do You use loadkmap in Your bootlocal.sh?
I guess - no, but just to be sure.
I don't ask You to hang up Your computer again with this program, but can You remember, when it was already hanged up, was the message
press any key (program terminates 10s after last keypress)...
visible on the screen?
Can You please post the result of
tce-load -w lshw
tce-load -i lshw
sudo lshw -C input
?
Hi, Rich!
The differences between the showkey.c program flows for -a and for -k or -s options are
-a) it uses fd=0 for read()
-k, -s) fd=getfd() and then
if (ioctl(fd, KDSKBMODE, show_keycodes ? K_MEDIUMRAW : K_RAW)) {
kbd_error(EXIT_FAILURE, errno, "ioctl KDSKBMODE");
For exiting keycodes code path uses
signal(SIGALRM, watch_dog);
and alarm(10);
in the reading loop, so if the program hangs up hardly it means the serious trouble, right?
If I was at Richa Rd's place i will start some background process (music player f.e.) prior to run showkey, to check wether only keyboard is blocked or everything dies. But if SIGALRM is not functioning it means total disaster.