From patchwork Thu Mar 24 20:04:25 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Salisbury X-Patchwork-Id: 601798 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) by ozlabs.org (Postfix) with ESMTP id 3qWHTN3Zdsz9sD2; Fri, 25 Mar 2016 07:04:40 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.76) (envelope-from ) id 1ajBUe-00012E-RQ; Thu, 24 Mar 2016 20:04:32 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1ajBUa-00011y-65 for kernel-team@lists.ubuntu.com; Thu, 24 Mar 2016 20:04:28 +0000 Received: from 1.general.jsalisbury.us.vpn ([10.172.67.212] helo=salisbury) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1ajBUZ-0005tD-Qi for kernel-team@lists.ubuntu.com; Thu, 24 Mar 2016 20:04:27 +0000 Received: by salisbury (Postfix, from userid 1000) id 3463878032F; Thu, 24 Mar 2016 16:04:26 -0400 (EDT) From: Joseph Salisbury To: kernel-team@lists.ubuntu.com Subject: [Xenial][SRU][Wily][lts-vivid][lts-utopic][Trusty][PATCH 1/1] UBUNTU: SAUCE: Input: synaptics - handle spurious release of trackstick buttons, again Date: Thu, 24 Mar 2016 16:04:25 -0400 Message-Id: <11f590b3407adfb7931063754493f31eca3674d6.1458830007.git.joseph.salisbury@canonical.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: References: In-Reply-To: References: X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.14 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: kernel-team-bounces@lists.ubuntu.com From: Benjamin Tissoires BugLink: http://bugs.launchpad.net/bugs/1553811 Looks like the fimware 8.2 stall has the extra buttons spurious release bug. Signed-off-by: Benjamin Tissoires Signed-off-by: Joseph Salisbury --- drivers/input/mouse/synaptics.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c index e678212..3275f58 100644 --- a/drivers/input/mouse/synaptics.c +++ b/drivers/input/mouse/synaptics.c @@ -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;