From patchwork Fri Oct 25 15:39:41 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yunkang Tang X-Patchwork-Id: 3096151 Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 8C7379F2B7 for ; Fri, 25 Oct 2013 15:40:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 63ED220257 for ; Fri, 25 Oct 2013 15:40:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8B78A20204 for ; Fri, 25 Oct 2013 15:40:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751459Ab3JYPj6 (ORCPT ); Fri, 25 Oct 2013 11:39:58 -0400 Received: from mail-pa0-f52.google.com ([209.85.220.52]:54197 "EHLO mail-pa0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753409Ab3JYPj5 (ORCPT ); Fri, 25 Oct 2013 11:39:57 -0400 Received: by mail-pa0-f52.google.com with SMTP id kl14so5333901pab.11 for ; Fri, 25 Oct 2013 08:39:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=K6IzLMxZFp2QVGeu+h9PTxqv0An9SCtXbCuWm1q6wLs=; b=iAYK384VrIxkvwtFu4vGdaz7MsaRlxtZw5LCoeoOkgINg+emA+SxBMm5yKmD48d9cz mO/9+wx8pOjaNBT6eQINJm+EjmMDJ+UTEekxO9SxJ3g69PSoc/dJC16QJyb1Ug/K/guB w5/IHc84AkP0Wu5ZktP9a/Kpmd0CGsBaioUUsehhOwBTdtedE3ZTXrhai97vqjFBjmxp HuDj4sJQJRu3P/HcQfoUZtG9PReVpOHa4C/MESbE+yE4MW4kiLVCZWIU+jLcaB31yhfx VLfBM8BSLQp6ENC0uwylAGRxYEohRZpReCB9Gv1I55adHOsfSLXhx1yVbw72ySSbqIXr kJ/A== X-Received: by 10.68.130.1 with SMTP id oa1mr7641459pbb.35.1382715596808; Fri, 25 Oct 2013 08:39:56 -0700 (PDT) Received: from localhost ([218.79.144.131]) by mx.google.com with ESMTPSA id ve9sm10311778pbc.19.2013.10.25.08.39.49 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 25 Oct 2013 08:39:55 -0700 (PDT) From: Yunkang Tang To: dmitry.torokhov@gmail.com, cernekee@gmail.com, dturvene@dahetral.com Cc: linux-input@vger.kernel.org, ndevos@redhat.com, gaspard@oknaj.eu, jclift@redhat.com, yunkang.tang@cn.alps.com Subject: [PATCH] Input: Adding support for touchpad on Dell XT2 model Date: Fri, 25 Oct 2013 23:39:41 +0800 Message-Id: <1382715581-2584-1-git-send-email-yunkang.tang@cn.alps.com> X-Mailer: git-send-email 1.8.1.2 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi all, This patch adding the support for touchpad on Dell XT2 model. It's a dual device with device ID: 73, 00, 14, that comply with "ALPS_PROTO_V2". Signed-off-by: Yunkang Tang Tested-by: Gaspard Jankowiak Reviewed-by: Niels de Vos --- drivers/input/mouse/alps.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/input/mouse/alps.c b/drivers/input/mouse/alps.c index ca7a26f..24b3626 100644 --- a/drivers/input/mouse/alps.c +++ b/drivers/input/mouse/alps.c @@ -103,6 +103,7 @@ static const struct alps_model_info alps_model_data[] = { /* Dell Latitude E5500, E6400, E6500, Precision M4400 */ { { 0x62, 0x02, 0x14 }, 0x00, ALPS_PROTO_V2, 0xcf, 0xcf, ALPS_PASS | ALPS_DUALPOINT | ALPS_PS2_INTERLEAVED }, + { { 0x73, 0x00, 0x14 }, 0x00, ALPS_PROTO_V2, 0xcf, 0xcf, ALPS_DUALPOINT }, /* Dell XT2 */ { { 0x73, 0x02, 0x50 }, 0x00, ALPS_PROTO_V2, 0xcf, 0xcf, ALPS_FOUR_BUTTONS }, /* Dell Vostro 1400 */ { { 0x52, 0x01, 0x14 }, 0x00, ALPS_PROTO_V2, 0xff, 0xff, ALPS_PASS | ALPS_DUALPOINT | ALPS_PS2_INTERLEAVED }, /* Toshiba Tecra A11-11L */