diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-08-20 14:28:48 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-08-26 10:09:22 -0700 |
commit | e51e38494a8ecc18650efb0c840600637891de2c (patch) | |
tree | 22c219137b4a0f9d385ac9f0718d05979fd5312d /drivers/input/misc | |
parent | 1ae5ddb6f8837558928a1a694c7b8af7f09fdd21 (diff) | |
download | blackbird-obmc-linux-e51e38494a8ecc18650efb0c840600637891de2c.tar.gz blackbird-obmc-linux-e51e38494a8ecc18650efb0c840600637891de2c.zip |
Input: synaptics - fix handling of disabling gesture mode
Bit 2 of the mode byte has dual meaning: it can disable reporting of
gestures when touchpad works in Relative mode or normal Absolute mode,
or it can enable so called Extended W-Mode when touchpad uses enhanced
Absolute mode (W-mode). The extended W-Mode confuses our driver and
causes missing button presses on some Thinkpads (x250, T450s), so let's
make sure we do not enable it.
Also, according to the spec W mode "... bit is defined only in Absolute
mode on pads whose capExtended capability bit is set. In Relative mode and
in TouchPads without this capability, the bit is reserved and should be
left at 0.", so let's make sure we respect this requirement as well.
Reported-by: Nick Bowler <nbowler@draconx.ca>
Suggested-by: Gabor Balla <gaborwho@gmail.com>
Tested-by: Gabor Balla <gaborwho@gmail.com>
Tested-by: Nick Bowler <nbowler@draconx.ca>
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/misc')
0 files changed, 0 insertions, 0 deletions