Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Input: synaptics - handle spurious release of trackstick buttons, again

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: stable@vger.kernel.org
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Benjamin Tissoires and committed by
Dmitry Torokhov
82be788c a1376d3d

+3 -2
+3 -2
drivers/input/mouse/synaptics.c
··· 862 862 if (!SYN_CAP_MULTI_BUTTON_NO(priv->ext_cap)) 863 863 return; 864 864 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) && 867 868 !((psmouse->packet[0] ^ psmouse->packet[3]) & 0x02)) 868 869 return; 869 870