diff mbox

UBUNTU: SAUCE: Input: ALPS - Enable Intellimouse mode for Lenovo Zhaoyang E47

Message ID 1311072000-16622-2-git-send-email-kengyu@canonical.com
State New
Headers show

Commit Message

Keng-Yu Lin July 19, 2011, 10:40 a.m. UTC
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>
---
 drivers/input/mouse/alps.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

Comments

Leann Ogasawara July 19, 2011, 8:51 p.m. UTC | #1
On Tue, 2011-07-19 at 18:40 +0800, Keng-Yu Lin wrote:
> 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>

Acke'd for Natty SRU:
Acked-by: Leann Ogasawara <leann.ogasawara@canonical.com>

Applied to Oneiric.

> ---
>  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"),
> +		},
> +	},
>  	{ }
>  };
>  
> -- 
> 1.7.4.1
> 
>
diff mbox

Patch

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"),
+		},
+	},
 	{ }
 };