• Dmitry Torokhov's avatar
    Input: i8042 - bypass AUX IRQ delivery test on laptops · 1c7827ae
    Dmitry Torokhov authored
    It seems that many laptops do not fully implement AUX LOOP command in
    their keyboard controllers, causing issues with touchpad detection.
    We know however that almost every laptop/portable uses a PS/2 pointing
    device and, even if user disables it in favor of an external mouse,
    the system will not use IRQ 12 for anything else. Therefore we may
    bypass AUX IRQ delivery test when running on a laptop and assume that
    it is routed properly.
    
    Just to be safe we require the box to have good PNP data in order to
    bypass the test.
    
    [Jin Dongming <jin.dongming@np.css.fujitsu.com>: fix crash caused
     by missing terminator in the DMI table]
    Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
    1c7827ae
i8042.c 29.4 KB