Keyboard error reporting

From: Aaron Lehmann (aaronl@vitelus.com)
Date: Tue Jul 11 2000 - 14:10:23 EDT

  • Next message: Rik van Riel: "Re: [PATCH] 2.2.17pre7 VM enhancement Re: I/O performance on 2.4.0-test2"

    When booting Linux on a keyboardless machine, the kernel complains about
    too many NACKs and suggests a broken keyboard cable, which is not the case
    when there is no keyboard attached. The error message could be changed to
    a more general one, but I think the right thing to do is to disable
    keyboard error reporting since it is only actually useful for debugging
    purposes. Many servers such as the ones that I am setting up are
    keyboardless, and I don't think the kernel should complain verbosely
    about the admin's descision to not plug in a keyboard.

    diff -ru linux.vanilla/include/linux/pc_keyb.h linux/include/linux/pc_keyb.h
    --- linux.vanilla/include/linux/pc_keyb.h Mon Oct 11 10:15:40 1999
    +++ linux/include/linux/pc_keyb.h Tue Jul 11 10:53:37 2000
    @@ -12,7 +12,7 @@
     
     #undef KBD_REPORT_ERR /* Report keyboard errors */
     #define KBD_REPORT_UNKN /* Report unknown scan codes */
    -#define KBD_REPORT_TIMEOUTS /* Report keyboard timeouts */
    +#undef KBD_REPORT_TIMEOUTS /* Report keyboard timeouts */
     #undef KBD_IS_FOCUS_9000 /* We have the brain-damaged FOCUS-9000 keyboard */
     #undef INITIALIZE_MOUSE /* Define if your PS/2 mouse needs initialization. */
     

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Tue Jul 11 2000 - 14:34:19 EDT