Skip to content

Commit e6dcc17

Browse files
bentissDinh Nguyen
authored andcommitted
Input: synaptics - handle spurious release of trackstick buttons, again
[ Upstream commit 82be788 ] Looks like the fimware 8.2 still has the extra buttons spurious release bug. Link: https://bugzilla.kernel.org/show_bug.cgi?id=114321 Cc: [email protected] Signed-off-by: Benjamin Tissoires <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
1 parent 566d150 commit e6dcc17

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

drivers/input/mouse/synaptics.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -862,8 +862,9 @@ static void synaptics_report_ext_buttons(struct psmouse *psmouse,
862862
if (!SYN_CAP_MULTI_BUTTON_NO(priv->ext_cap))
863863
return;
864864

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

0 commit comments

Comments
 (0)