lkml.org 
[lkml]   [2016]   [Apr]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 3.19.y-ckt 102/170] Input: synaptics - handle spurious release of trackstick buttons, again
    Date
    3.19.8-ckt18 -stable review patch.  If anyone has any objections, please let me know.

    ---8<------------------------------------------------------------

    From: Benjamin Tissoires <benjamin.tissoires@redhat.com>

    commit 82be788c96ed5978d3cb4a00079e26b981a3df3f upstream.

    Looks like the fimware 8.2 still has the extra buttons spurious release
    bug.

    Link: https://bugzilla.kernel.org/show_bug.cgi?id=114321
    Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
    Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
    Signed-off-by: Kamal Mostafa <kamal@canonical.com>
    ---
    drivers/input/mouse/synaptics.c | 5 +++--
    1 file changed, 3 insertions(+), 2 deletions(-)

    diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c
    index 826ef3d..1de070a 100644
    --- a/drivers/input/mouse/synaptics.c
    +++ b/drivers/input/mouse/synaptics.c
    @@ -840,8 +840,9 @@ static void synaptics_report_ext_buttons(struct psmouse *psmouse,
    if (!SYN_CAP_MULTI_BUTTON_NO(priv->ext_cap))
    return;

    - /* Bug in FW 8.1, buttons are reported only when ExtBit is 1 */
    - if (SYN_ID_FULL(priv->identity) == 0x801 &&
    + /* Bug in FW 8.1 & 8.2, buttons are reported only when ExtBit is 1 */
    + if ((SYN_ID_FULL(priv->identity) == 0x801 ||
    + SYN_ID_FULL(priv->identity) == 0x802) &&
    !((psmouse->packet[0] ^ psmouse->packet[3]) & 0x02))
    return;

    --
    2.7.4
    \
     
     \ /
      Last update: 2016-04-02 03:41    [W:4.147 / U:0.036 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site