Input: i8042 - reset keyboard to fix Elantech touchpad detection
authorSrihari Vijayaraghavan <linux.bug.reporting@gmail.com>
Thu, 8 Jan 2015 00:25:53 +0000 (16:25 -0800)
committerJiri Slaby <jslaby@suse.cz>
Thu, 29 Jan 2015 14:44:42 +0000 (15:44 +0100)
commit78fa0d5560b6ffb6f67a8cdc2e88804e1c3c2ea1
tree269f6f75ac49f9fe4be4e374f31da93c8d327748
parent014ff2c59685cb8045247dea39a10e93855d4293
Input: i8042 - reset keyboard to fix Elantech touchpad detection

commit 148e9a711e034e06310a8c36b64957934ebe30f2 upstream.

On some laptops, keyboard needs to be reset in order to successfully detect
touchpad (e.g., some Gigabyte laptop models with Elantech touchpads).
Without resettin keyboard touchpad pretends to be completely dead.

Based on the original patch by Mateusz Jończyk this version has been
expanded to include DMI based detection & application of the fix
automatically on the affected models of laptops. This has been confirmed to
fix problem by three users already on three different models of laptops.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=81331
Signed-off-by: Srihari Vijayaraghavan <linux.bug.reporting@gmail.com>
Acked-by: Mateusz Jończyk <mat.jonczyk@o2.pl>
Tested-by: Srihari Vijayaraghavan <linux.bug.reporting@gmail.com>
Tested by: Zakariya Dehlawi <zdehlawi@gmail.com>
Tested-by: Guillaum Bouchard <guillaum.bouchard@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Documentation/kernel-parameters.txt
drivers/input/serio/i8042-x86ia64io.h
drivers/input/serio/i8042.c