UBUNTU: Input: i8042 - bypass AUX IRQ delivery test on laptops
From: Colin Ian King <colin.king@canonical.com>
BugLink: http://bugs.launchpad.net/bugs/534448
Touchpad detection fails for a bunch of laptops because of faulty
AUX LOOP command implementation. This backport patch of commit
upstream commit 1c7827ae70e7c8456e08f7bb9ef2238d27814cbe fixes this.
Quoting the original posting:
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.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
drivers/input/serio/i8042-x86ia64io.h | 33 +++++++++++++++++++++++++++++++++
drivers/input/serio/i8042.c | 4 +++-
2 files changed, 36 insertions(+), 1 deletions(-)
static DEFINE_SPINLOCK(i8042_lock);
@@ -641,7 +643,7 @@ static int __devinit i8042_check_aux(void)
* used it for a PCI card or somethig else.
*/
- if (i8042_noloop || aux_loop_broken) {
+ if (i8042_noloop || i8042_bypass_aux_irq_test || aux_loop_broken) {
/*
* Without LOOP command we can't test AUX IRQ delivery. Assume the port
* is working and hope we are right.
--
1.6.3.3
--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team