Due to an error parsing it's command line, the setkeycodes command will ignore the last scancode / keycode pair. If the user is attempting to update just one scancode, then the command has no effect and will exit normally with a return value of 0. The command getkeycodes can be used to verify that no update has taken place. The following patch will resolve this issue: *** console-tools-1999.03.02/kbdtools/setkeycodes.c.orig Wed Jan 12 14:01:54 2000 --- console-tools-1999.03.02/kbdtools/setkeycodes.c Wed Jan 12 14:02:06 2000 *************** *** 62,68 **** if (-1 == (fd = get_console_fd(NULL))) exit (1); ! while ( (argc - optind) > 2) { a.scancode = sc = strtol(argv[optind++], &ep, 16); a.keycode = atoi(argv[optind++]); --- 62,68 ---- if (-1 == (fd = get_console_fd(NULL))) exit (1); ! while ( (argc - optind) >= 2) { a.scancode = sc = strtol(argv[optind++], &ep, 16); a.keycode = atoi(argv[optind++]);
This has been fixed for some months. Sorry for forgetting to close the bug.