]> git.baikalelectronics.ru Git - kernel.git/commit
Input: psmouse - add small delay for IBM trackpoint pass-through mode
authorStefan Assmann <sassmann@kpanic.de>
Wed, 26 Aug 2015 20:11:49 +0000 (13:11 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 26 Aug 2015 20:14:25 +0000 (13:14 -0700)
commit30a23a3a912bbc67b49a8da5a7adef6903dad1f1
treec99fc9e53bd47406938ad31859a3578aa3e820e5
parent7e40dd94c33984a6f846b7a103e8dcad1afd3c2f
Input: psmouse - add small delay for IBM trackpoint pass-through mode

There are trackpoint devices that fail to respond to the PS2 command
PSMOUSE_CMD_GETID if immediately queried after the parent device is
deactivated. Add a small delay for the hardware to get in a sane state
before sending any PS2 commands.

One example of such a system is:
Lenovo ThinkPad X120e, model 30515QG
synaptics: Touchpad model: 1, fw: 8.0, id: 0x1e2b1, caps: 0xd001a3/0x940300/0x121c00, board id: 1811, fw id: 797391

Signed-off-by: Stefan Assmann <sassmann@kpanic.de>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/psmouse-base.c