• Andries E. Brouwer's avatar
    [PATCH] more keyboard stuff · 79b8787e
    Andries E. Brouwer authored
    I looked a bit more at the keyboard code and find a bug
    and a probable bug.
    
    (i) In case a synaptics touchpad has been detected, the comment says
        "disable AUX".  But we do not set the disable bit, but instead .and.
        with the bit - no doubt getting zero.  This must be a bug. 
    
    (ii) Directly above this is the suspicious comment "keyboard translation
         seems to be always off".  But every machine comes always up in
         translated scancode 2.  Translation is never off.  But wait! by
         mistake the above .and.  cleared the XLATE bit.
    
    So, I think bug (i) explains mystery (ii).
    
    However, note that this is code reading only.  I do not have the
    hardware, so cannot test.
    79b8787e
i8042.c 20.4 KB