From 8da8bc26d2ba94c90c38547a66cbcdd0b2063d47 Mon Sep 17 00:00:00 2001 From: Keng-Yu Lin Date: Tue, 19 Jul 2011 18:40:00 +0800 Subject: [PATCH] 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 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 Signed-off-by: Tim Gardner --- drivers/input/mouse/alps.c | 5 +++++ 1 file changed, 5 insertions(+) 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"), + }, + }, { } }; -- 1.7.10.4