]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
Input: elantech - reset touchpad before configuring it
authorJJ Ding <jj_ding@emc.com.tw>
Tue, 10 Apr 2012 07:29:12 +0000 (00:29 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 10 Apr 2012 07:40:31 +0000 (00:40 -0700)
commita67ada7a7239b78250c1594b0e02ca68eae848dc
treef46f0240f415e1217bb487e8b4a119334bfde697
parentd626dad58f02e13730ded6ac84d6a9e53123f0e8
Input: elantech - reset touchpad before configuring it

Acer VH40 has a Fn key toggling the touchpad on and off, but it's
implemented in system firmware, and the EC chip has to receive
reset command to activate this function. Also when this machine
wakes up after resume, psmouse_reset is necessary to bring the
touchpad back on.

Signed-off-by: JJ Ding <jj_ding@emc.com.tw>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/elantech.c