From patchwork Thu Sep 27 23:29:45 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: git@status.e4ward.com X-Patchwork-Id: 187773 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id 5AD142C00BF for ; Fri, 28 Sep 2012 22:06:00 +1000 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1THZHW-0008Bx-Kl; Fri, 28 Sep 2012 12:02:58 +0000 Received: from e4ward.com ([69.56.173.230]) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from <23685.gmail.com@bounce.e4ward.com>) id 1THNUU-0005gg-9x for kernel-team@lists.ubuntu.com; Thu, 27 Sep 2012 23:27:34 +0000 Received: from localhost ([127.0.0.1] helo=e4ward.com) by e4ward.com with esmtp (Exim 4.69) id 1THNX5-0006A8-3O; Thu, 27 Sep 2012 19:30:15 -0400 Received: from mail-yh0-f48.google.com (mail-yh0-f48.google.com [209.85.213.48]) by e4ward.com; Thu, 27 Sep 2012 19:30:15 -0400 (EDT) Received: by yhfq46 with SMTP id q46so109602yhf.7 for ; Thu, 27 Sep 2012 16:29:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding; bh=dn5iHVtB+95TNhMLNUf/NPI/rgbq3PNugI8Y6VSa0BE=; b=ml/Eot1nzXne0o76xSiUC8SyRhpjhSR5oWqv2h3tZFQxY19raluZHh1ecO/19sDDz0 LXnOgSdol/uwBY/CyEIjlflaJKeee251gUvTCnIsjRZzpGcjxJDJv4cuCcrTFn0KSSe7 Ys1IJv/MwnpgodJas9a74m1jr6CYuXmhkOHDUQq1oEE969Nmm9EUnDwf0loxhuQKKbnf 0/ny7lKA+RmXnbsdzFH6wo4HtckqxIT+1IK6P8RJqjD7W139A5Dt5bjGDGBmS8eErCBD kzrUslSrahz+pZcn15M3V3TwmXY6t07poKP2zP6y79dkLFbuzIrXEOxkWrAsO5O0km+m dAXw== Received: by 10.236.154.165 with SMTP id h25mr3511911yhk.38.1348788586879; Thu, 27 Sep 2012 16:29:46 -0700 (PDT) Received: from [192.168.1.146] (c-67-163-106-84.hsd1.va.comcast.net. [67.163.106.84]) by mx.google.com with ESMTPS id e5sm11348107yhk.21.2012.09.27.16.29.46 (version=SSLv3 cipher=OTHER); Thu, 27 Sep 2012 16:29:46 -0700 (PDT) Message-ID: <5064E169.2090505@gmail.com> Date: Thu, 27 Sep 2012 19:29:45 -0400 From: User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120827 Thunderbird/15.0 MIME-Version: 1.0 To: kernel-team@lists.ubuntu.com Subject: [Quantal][PATCH] UBUNTU: SAUCE: input: Cypress PS/2 Trackpad fix multi-source, double-click X-e4ward-RCPT: kernel--team-lists.ubuntu.com-git-status.e4ward.com-121227-5f91-5@reply.e4ward.com X-e4ward-RCPT: kamal-canonical.com-git-status.e4ward.com-121227-0c20-5@reply.e4ward.com X-Mailman-Approved-At: Fri, 28 Sep 2012 12:02:54 +0000 Cc: kamal@canonical.com X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.13 Precedence: list Reply-To: git@status.e4ward.com List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kernel-team-bounces@lists.ubuntu.com Errors-To: kernel-team-bounces@lists.ubuntu.com From 7b424abf76fe0883c6d94a3980a1b1ea533575a0 Mon Sep 17 00:00:00 2001 From: Kyle Fazzari Date: Thu, 27 Sep 2012 18:35:04 -0400 Subject: [PATCH] UBUNTU: SAUCE: input: Cypress PS/2 Trackpad fix multi-source double-click Fix "Quickly clicking touchpad results in double click (with tap to click)" by setting INPUT_PROP_BUTTONPAD property. This lets xserver-xorg-input-synaptics know that the touchpad has a button underneath it so it can take care of the multiple-click-source issue. BugLink: https://bugs.launchpad.net/dell-sputnik/+bug/1055788 Signed-off-by: Kyle Fazzari Signed-off-by: Kamal Mostafa --- drivers/input/mouse/cypress_ps2.c | 2 ++ 1 file changed, 2 insertions(+) __set_bit(BTN_TOOL_FINGER, input->keybit); @@ -439,6 +440,7 @@ static int cypress_set_input_params(struct input_dev *input, __clear_bit(REL_X, input->relbit); __clear_bit(REL_Y, input->relbit); } else { + __set_bit(INPUT_PROP_BUTTONPAD, input->propbit); __set_bit(EV_REL, input->evbit); __set_bit(REL_X, input->relbit); __set_bit(REL_Y, input->relbit); diff --git a/drivers/input/mouse/cypress_ps2.c b/drivers/input/mouse/cypress_ps2.c index 3a572ec..c3752be 100644 --- a/drivers/input/mouse/cypress_ps2.c +++ b/drivers/input/mouse/cypress_ps2.c @@ -423,6 +423,7 @@ static int cypress_set_input_params(struct input_dev *input, } + __set_bit(INPUT_PROP_BUTTONPAD, input->propbit); __set_bit(EV_KEY, input->evbit); __set_bit(BTN_TOUCH, input->keybit);