2005-12-05 15:13:22

by Jasper Spaans

[permalink] [raw]
Subject: [patch] patchlet for logips2pp.c

Hi,

When booting, my kernel spits out:

[4294670.033000] logips2pp: Detected unknown logitech mouse model 85
[4294670.106000] input: ImPS/2 Logitech Wheel Mouse as /class/input/input2

This is a simple wheel mouse, so the following patch should be OK for this
model:

diff --git a/drivers/input/mouse/logips2pp.c b/drivers/input/mouse/logips2pp.c
index 31a59f7..9a0bbe8 100644
--- a/drivers/input/mouse/logips2pp.c
+++ b/drivers/input/mouse/logips2pp.c
@@ -226,6 +226,7 @@ static struct ps2pp_info *get_model_info
{ 80, PS2PP_KIND_WHEEL, PS2PP_SIDE_BTN | PS2PP_WHEEL },
{ 81, PS2PP_KIND_WHEEL, PS2PP_WHEEL },
{ 83, PS2PP_KIND_WHEEL, PS2PP_WHEEL },
+ { 85, PS2PP_KIND_WHEEL, PS2PP_WHEEL },
{ 86, PS2PP_KIND_WHEEL, PS2PP_WHEEL },
{ 88, PS2PP_KIND_WHEEL, PS2PP_WHEEL },
{ 96, 0, 0 },


Cheers,
--
Jasper Spaans http://jsp.vs19.net/
16:10:59 up 10519 days, 7:57, 0 users, load average: 7.10 7.28 5.99


Attachments:
(No filename) (960.00 B)
signature.asc (189.00 B)
Digital signature
Download all attachments

2005-12-07 06:34:45

by Dmitry Torokhov

[permalink] [raw]
Subject: Re: [patch] patchlet for logips2pp.c

On Monday 05 December 2005 10:13, Jasper Spaans wrote:
> Hi,
>
> When booting, my kernel spits out:
>
> [4294670.033000] logips2pp: Detected unknown logitech mouse model 85
> [4294670.106000] input: ImPS/2 Logitech Wheel Mouse as /class/input/input2
>
> This is a simple wheel mouse, so the following patch should be OK for this
> model:
>
> diff --git a/drivers/input/mouse/logips2pp.c b/drivers/input/mouse/logips2pp.c
> index 31a59f7..9a0bbe8 100644
> --- a/drivers/input/mouse/logips2pp.c
> +++ b/drivers/input/mouse/logips2pp.c
> @@ -226,6 +226,7 @@ static struct ps2pp_info *get_model_info
> { 80, PS2PP_KIND_WHEEL, PS2PP_SIDE_BTN | PS2PP_WHEEL },
> { 81, PS2PP_KIND_WHEEL, PS2PP_WHEEL },
> { 83, PS2PP_KIND_WHEEL, PS2PP_WHEEL },
> + { 85, PS2PP_KIND_WHEEL, PS2PP_WHEEL },
> { 86, PS2PP_KIND_WHEEL, PS2PP_WHEEL },
> { 88, PS2PP_KIND_WHEEL, PS2PP_WHEEL },
> { 96, 0, 0 },
>
>
> Cheers,

I will add this to my tree.

Thanks!

--
Dmitry