Commit 586dd749 authored by Benjamin Tissoires's avatar Benjamin Tissoires Committed by Tim Gardner

UBUNTU: SAUCE: (noup) Input: synaptics - handle spurious release of trackstick buttons, again

BugLink: http://bugs.launchpad.net/bugs/1553811

Looks like the fimware 8.2 stall has the extra buttons spurious release
bug.
Signed-off-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: default avatarJoseph Salisbury <joseph.salisbury@canonical.com>
Signed-off-by: default avatarTim Gardner <tim.gardner@canonical.com>
parent f95a502b
......@@ -863,7 +863,8 @@ static void synaptics_report_ext_buttons(struct psmouse *psmouse,
return;
/* Bug in FW 8.1, buttons are reported only when ExtBit is 1 */
if (SYN_ID_FULL(priv->identity) == 0x801 &&
if ((SYN_ID_FULL(priv->identity) == 0x801 ||
SYN_ID_FULL(priv->identity) == 0x802) &&
!((psmouse->packet[0] ^ psmouse->packet[3]) & 0x02))
return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment