From patchwork Wed Feb 19 07:08:09 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Chia-Lin Kao (AceLan)" X-Patchwork-Id: 3678901 Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 87362BF13A for ; Wed, 19 Feb 2014 07:08:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id ADD8F20165 for ; Wed, 19 Feb 2014 07:08:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A4C1E2015E for ; Wed, 19 Feb 2014 07:08:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752104AbaBSHIO (ORCPT ); Wed, 19 Feb 2014 02:08:14 -0500 Received: from mail-pb0-f41.google.com ([209.85.160.41]:34891 "EHLO mail-pb0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750962AbaBSHIN (ORCPT ); Wed, 19 Feb 2014 02:08:13 -0500 Received: by mail-pb0-f41.google.com with SMTP id up15so473pbc.0 for ; Tue, 18 Feb 2014 23:08:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id; bh=CZ/amf/JHURQ8FT77hFebz8Rf8f6dYJorSgoThdrfQ4=; b=I17USniCCo08mUq3ig50xiud0hZmArnkbkVyDdBdR6h/yQphgMOVNfXtA8trbHTpmz Cu6Zq1vVmF+tfjt0Q6RNmdfQl5OpylaBThe7w2OSy7gVmlfjK5zutvcYi5JdzXKQuiqu BbbU9A31Cz61lPbgG+TrXl80Bvi3kWlyxaUuvxjaM594ttV8350TH8aKqE0gyiZR5BTc K1w2+5xOMrWW2TZ5HiFLqzm92Vdk31ZZG1xk+qW6Fy7Mxr0tYJmz3+SzkfqAFAlLSzV8 0JZb+Esb1b6JqVeuOhMc9Tk0ZVQF4mwWNJKILWB6JApsQt7y6Rl6yfEETXwcPP2rWIiz bfZw== X-Received: by 10.66.163.164 with SMTP id yj4mr368170pab.91.1392793693224; Tue, 18 Feb 2014 23:08:13 -0800 (PST) Received: from localhost ([175.41.48.77]) by mx.google.com with ESMTPSA id f5sm159371446pat.11.2014.02.18.23.08.11 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 18 Feb 2014 23:08:12 -0800 (PST) From: AceLan Kao To: linux-input@vger.kernel.org, Dmitry Torokhov Subject: [PATCH] Input: ALPS - add support for HP Pavilion 14 TS Date: Wed, 19 Feb 2014 15:08:09 +0800 Message-Id: <1392793689-10959-1-git-send-email-acelan.kao@canonical.com> X-Mailer: git-send-email 1.9.rc1 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.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, 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 Without the patch, the touchpad works with no cursor. [ 137.718584] psmouse serio1: alps: Unknown ALPS touchpad: E7=73 03 14, EC=73 02 36 [ 138.536736] input: ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio1/input/input12 After adding its data into the table, it works with cursor. [ 182.003025] input: DualPoint Stick as /devices/platform/i8042/serio1/input/input13 [ 182.022643] input: AlpsPS/2 ALPS DualPoint TouchPad as /devices/platform/i8042/serio1/input/input14 Signed-off-by: AceLan Kao --- 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 fb15c64..74859a0 100644 --- a/drivers/input/mouse/alps.c +++ b/drivers/input/mouse/alps.c @@ -123,6 +123,7 @@ static const struct alps_model_info alps_model_data[] = { { { 0x62, 0x02, 0x14 }, 0x00, ALPS_PROTO_V2, 0xcf, 0xcf, ALPS_PASS | ALPS_DUALPOINT | ALPS_PS2_INTERLEAVED }, { { 0x73, 0x00, 0x14 }, 0x00, ALPS_PROTO_V6, 0xff, 0xff, ALPS_DUALPOINT }, /* Dell XT2 */ + { { 0x73, 0x03, 0x14 }, 0x00, ALPS_PROTO_V6, 0xff, 0xff, ALPS_DUALPOINT }, /* HP Pavilion 14 TS Notebook PC */ { { 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 */