Input: i8042 - bypass AUX IRQ delivery test on laptops
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 4 Sep 2009 04:45:34 +0000 (21:45 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 11 Sep 2009 05:09:40 +0000 (22:09 -0700)
commit1c7827ae70e7c8456e08f7bb9ef2238d27814cbe
tree70d6dc74fad758801d7a9c1cebfd812e81cccd29
parent41c372dcad935fe7c27ec45211bad810515110bd
Input: i8042 - bypass AUX IRQ delivery test on laptops

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: Dmitry Torokhov <dtor@mail.ru>
drivers/input/serio/i8042-x86ia64io.h
drivers/input/serio/i8042.c