aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeng-Yu Lin <kengyu@canonical.com>2011-07-19 18:40:00 +0800
committerJohn Rigby <john.rigby@linaro.org>2011-08-21 21:55:43 -0600
commitffad2c8b66b8338c364b10143978c2e171859ba6 (patch)
tree2e5243847cb998e7a7ed97e806d7ffe53474310a
parent649d1b589b272135a7547106dd83a9e0986e2457 (diff)
UBUNTU: SAUCE: Input: ALPS - Enable Intellimouse mode for Lenovo Zhaoyang E47
The quirk enables the edge-scrolling function of the touchpad. This patch depends on the following sauce patch: commit 83ccc92aa7bc9b9d47fc31a7b54e663fb9a3d992 Author: Rezwanul Kabir <Rezwanul_Kabir@dell.com> 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 <Rezwanul_Kabir@dell.com> BugLink: http://bugs.launchpad.net/bugs/632884 Signed-off-by: Andy Whitcroft <apw@canonical.com> BugLink: http://bugs.launchpad.net/bugs/803005 Signed-off-by: Keng-Yu Lin <kengyu@canonical.com> Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
-rw-r--r--drivers/input/mouse/alps.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/input/mouse/alps.c b/drivers/input/mouse/alps.c
index 668d715018b..da20b627ebd 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"),
+ },
+ },
{ }
};