[patch] patchlet for logips2pp.c

Jasper Spaans
2005-12-05T15:13:22Z

[-- Attachment #1: Type: text/plain, Size: 988 bytes --]

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

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]