From patchwork Tue Jul 19 10:40:00 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Keng-Yu Lin X-Patchwork-Id: 105525 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 411F0B6F77 for ; Wed, 20 Jul 2011 06:22:39 +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 1QjGoC-0006ZI-OO; Tue, 19 Jul 2011 20:22:24 +0000 Received: from mail-yw0-f49.google.com ([209.85.213.49]) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1Qj7in-00033s-Vk for kernel-team@lists.ubuntu.com; Tue, 19 Jul 2011 10:40:14 +0000 Received: by ywf9 with SMTP id 9so1921763ywf.8 for ; Tue, 19 Jul 2011 03:40:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:from:to:subject:date:message-id:x-mailer:in-reply-to :references; bh=tGtYwG28IAJFdvNpAnuYYY2UiDCclMRlf04HCAvsrWQ=; b=ENR4j5bcDd7XgTkfb65CM2R4zRtX18YnfBc39hN5k2+47XgFfVbAOYMur9kppGsrI7 TLfHiNSws4UM2oTTyvAfQ6pMS+IggwqEeWlIbhRi/EOfronJJiTx71NeXVrrG/QZDdDO w8ecH6BWmljOSKOtGFZmFJ3W+Q41AbBoSNUYE= Received: by 10.236.176.8 with SMTP id a8mr4961310yhm.453.1311072011868; Tue, 19 Jul 2011 03:40:11 -0700 (PDT) Received: from localhost (114-32-21-24.HINET-IP.hinet.net [114.32.21.24]) by mx.google.com with ESMTPS id c69sm830118yhm.1.2011.07.19.03.40.09 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 19 Jul 2011 03:40:11 -0700 (PDT) From: Keng-Yu Lin To: Kernel team list Subject: [PATCH] UBUNTU: SAUCE: Input: ALPS - Enable Intellimouse mode for Lenovo Zhaoyang E47 Date: Tue, 19 Jul 2011 18:40:00 +0800 Message-Id: <1311072000-16622-2-git-send-email-kengyu@canonical.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1311072000-16622-1-git-send-email-kengyu@canonical.com> References: <1311072000-16622-1-git-send-email-kengyu@canonical.com> X-Mailman-Approved-At: Tue, 19 Jul 2011 20:22:20 +0000 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.13 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: kernel-team-bounces@lists.ubuntu.com Errors-To: kernel-team-bounces@lists.ubuntu.com The quirk enables the edge-scrolling function of the touchpad. This patch depends on the following sauce patch: commit 83ccc92aa7bc9b9d47fc31a7b54e663fb9a3d992 Author: Rezwanul Kabir Date: Tue Nov 23 20:15:14 2010 +0000 Add support for Intellimouse Mode in ALPS touchpad on Dell E2 series Laptops Resending modified patch to fix suspend/resume issues and restricting the quirks to Dell portables only. Dell E2 series laptops ( M4500, E6510, E6410 etc.) have ALPS touchpads which are enabled by default as 3-byte generic PS/2 mouse mode. This patch enables the 4-byte "Intellimouse Mode" ( e.g scrolling support). Signed-off-by: Rezwanul_Kabir BugLink: http://bugs.launchpad.net/bugs/632884 Signed-off-by: Andy Whitcroft BugLink: http://bugs.launchpad.net/bugs/803005 Signed-off-by: Keng-Yu Lin Acked-by: Leann Ogasawara --- drivers/input/mouse/alps.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/drivers/input/mouse/alps.c b/drivers/input/mouse/alps.c index 668d715..da20b62 100644 --- a/drivers/input/mouse/alps.c +++ b/drivers/input/mouse/alps.c @@ -127,6 +127,11 @@ static const struct dmi_system_id dell_quirk_table[] = { DMI_MATCH(DMI_CHASSIS_TYPE, "9"), }, }, + { + .matches = { + DMI_MATCH(DMI_PRODUCT_NAME, "ZHAOYANG E47"), + }, + }, { } };